Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/intents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,17 @@ public enum INBookRestaurantReservationIntentCode : nint {
FailureRequiringAppLaunchServiceTemporarilyUnavailable
}

[Introduced (PlatformName.iOS, 10, 0)]
[Introduced (PlatformName.MacOSX, 10, 12, PlatformArchitecture.Arch64)]
[Native]
[Flags]
public enum INCallCapabilityOptions : nuint {
AudioCall = (1 << 0),
VideoCall = (1 << 1)
}

[Introduced (PlatformName.iOS, 10, 0)]
[Introduced (PlatformName.MacOSX, 10, 12, PlatformArchitecture.Arch64)]
[Native]
public enum INCallRecordType : nint {
Unknown = 0,
Expand Down Expand Up @@ -242,6 +246,8 @@ public enum INListRideOptionsIntentResponseCode : nint {
FailureRequiringAppLaunchPreviousRideNeedsCompletion
}

[Introduced (PlatformName.iOS, 10, 0)]
[Introduced (PlatformName.MacOSX, 10, 12, PlatformArchitecture.Arch64)]
[Native]
public enum INMessageAttribute : nint {
Unknown = 0,
Expand All @@ -251,6 +257,8 @@ public enum INMessageAttribute : nint {
Unflagged
}

[Introduced (PlatformName.iOS, 10, 0)]
[Introduced (PlatformName.MacOSX, 10, 12, PlatformArchitecture.Arch64)]
[Native]
[Flags]
public enum INMessageAttributeOptions : nuint {
Expand Down Expand Up @@ -347,13 +355,17 @@ public enum INRadioType : nint {
Dab
}

[Introduced (PlatformName.iOS, 10, 0)]
[Unavailable (PlatformName.MacOSX)]
[Native]
public enum INRelativeReference : nint {
Unknown = 0,
Next,
Previous
}

[Introduced (PlatformName.iOS, 10, 0)]
[Unavailable (PlatformName.MacOSX)]
[Native]
public enum INRelativeSetting : nint {
Unknown = 0,
Expand Down Expand Up @@ -859,6 +871,9 @@ enum INPersonHandleLabel {
[Introduced (PlatformName.iOS, 10, 2)]
[Introduced (PlatformName.MacOSX, 10, 12, 2, PlatformArchitecture.Arch64)]
enum INPersonRelationship {
[Field (null)]
None,

[Field ("INPersonRelationshipFather")]
Father,

Expand Down Expand Up @@ -2282,6 +2297,16 @@ interface INPerson : NSCopying, NSSecureCoding, INSpeakable {
[NullAllowed, Export ("customIdentifier")]
string CustomIdentifier { get; }

[Introduced (PlatformName.iOS, 10, 0)]
[Introduced (PlatformName.MacOSX, 10, 12, PlatformArchitecture.Arch64)]
[NullAllowed, Export ("relationship"), Protected]
NSString WeakRelationship { get; }

[Introduced (PlatformName.iOS, 10, 0)]
[Introduced (PlatformName.MacOSX, 10, 12, PlatformArchitecture.Arch64)]
[Wrap ("INPersonRelationshipExtensions.GetValue (WeakRelationship)")]
INPersonRelationship Relationship { get; }

// Inlined from INInteraction (INPerson) Category

[NullAllowed, Export ("aliases", ArgumentSemantic.Copy)]
Expand Down Expand Up @@ -4095,6 +4120,7 @@ interface INSpeakableString : INSpeakable {
IntPtr Constructor (string identifier, string spokenPhrase, [NullAllowed] string pronunciationHint);

[Introduced (PlatformName.iOS, 10, 2)]
[Introduced (PlatformName.MacOSX, 10, 12, 2, PlatformArchitecture.Arch64)]
[Export ("initWithSpokenPhrase:")]
IntPtr Constructor (string spokenPhrase);
}
Expand Down