title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.WatchOS SDK API diff: 15.10.0 vs 15.99.0 |
List of API changes between Xamarin.WatchOS versions 15.10.0 and 15.99.0. |
spouliot |
sepoulio |
7/18/2022 |
article |
f30e7b40-b57a-615d-defb-2c144f4fd259 |
xamarin |
Added method:
protected void FlushConsole ();
Added property:
public virtual CLKComplicationWidgetMigrator WidgetMigrator { get; }
Added method:
public static CLKComplicationWidgetMigrator GetWidgetMigrator (this ICLKComplicationDataSource This);
public class CLKComplicationIntentWidgetMigrationConfiguration : ClockKit.CLKComplicationWidgetMigrationConfiguration {
// constructors
protected CLKComplicationIntentWidgetMigrationConfiguration (Foundation.NSObjectFlag t);
protected CLKComplicationIntentWidgetMigrationConfiguration (IntPtr handle);
public CLKComplicationIntentWidgetMigrationConfiguration (string kind, string extensionBundleIdentifier, Intents.INIntent intent, string localizedDisplayName);
// properties
public override IntPtr ClassHandle { get; }
public virtual string ExtensionBundleIdentifier { get; }
public virtual Intents.INIntent Intent { get; }
public virtual string Kind { get; }
public virtual string LocalizedDisplayName { get; }
// methods
public static CLKComplicationIntentWidgetMigrationConfiguration Create (string kind, string extensionBundleIdentifier, Intents.INIntent intent, string localizedDisplayName);
}
public class CLKComplicationStaticWidgetMigrationConfiguration : ClockKit.CLKComplicationWidgetMigrationConfiguration {
// constructors
protected CLKComplicationStaticWidgetMigrationConfiguration (Foundation.NSObjectFlag t);
protected CLKComplicationStaticWidgetMigrationConfiguration (IntPtr handle);
public CLKComplicationStaticWidgetMigrationConfiguration (string kind, string extensionBundleIdentifier);
// properties
public override IntPtr ClassHandle { get; }
public virtual string ExtensionBundleIdentifier { get; }
public virtual string Kind { get; }
// methods
public static CLKComplicationStaticWidgetMigrationConfiguration Create (string kind, string extensionBundleIdentifier);
}
public class CLKComplicationWidgetMigrationConfiguration : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CLKComplicationWidgetMigrationConfiguration ();
protected CLKComplicationWidgetMigrationConfiguration (Foundation.NSObjectFlag t);
protected CLKComplicationWidgetMigrationConfiguration (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class CLKComplicationWidgetMigrator : Foundation.NSObject, ICLKComplicationWidgetMigrator, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CLKComplicationWidgetMigrator ();
protected CLKComplicationWidgetMigrator (Foundation.NSObjectFlag t);
protected CLKComplicationWidgetMigrator (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void GetWidgetConfiguration (CLKComplicationDescriptor complicationDescriptor, System.Action<CLKComplicationWidgetMigrationConfiguration> completionHandler);
public virtual System.Threading.Tasks.Task<CLKComplicationWidgetMigrationConfiguration> GetWidgetConfigurationAsync (CLKComplicationDescriptor complicationDescriptor);
}
public static class CLKComplicationWidgetMigrator_Extensions {
// methods
public static void GetWidgetConfiguration (this ICLKComplicationWidgetMigrator This, CLKComplicationDescriptor complicationDescriptor, System.Action<CLKComplicationWidgetMigrationConfiguration> completionHandler);
public static System.Threading.Tasks.Task<CLKComplicationWidgetMigrationConfiguration> GetWidgetConfigurationAsync (this ICLKComplicationWidgetMigrator This, CLKComplicationDescriptor complicationDescriptor);
}
public interface ICLKComplicationWidgetMigrator : ObjCRuntime.INativeObject, System.IDisposable {
}
Added property:
public static Foundation.NSString OptionDeviceAccessForMedia { get; }
Added values:
LEGattExceededBackgroundNotificationLimit = 17,
LEGattNearBackgroundNotificationLimit = 18,
Added value:
CPUAndNeuralEngine = 3,
Added methods:
public static void Load (MLModelAsset asset, MLModelConfiguration configuration, System.Action<MLModel,Foundation.NSError> handler);
public static System.Threading.Tasks.Task<MLModel> LoadAsync (MLModelAsset asset, MLModelConfiguration configuration);
Added property:
public virtual string ModelDisplayName { get; set; }
Added constructor:
public MLMultiArray (CoreVideo.CVPixelBuffer pixelBuffer, Foundation.NSNumber[] shape);
Added property:
public virtual CoreVideo.CVPixelBuffer PixelBuffer { get; }
Added methods:
public virtual void GetBytes (System.Action<System.IntPtr,System.nint> handler);
public virtual System.Threading.Tasks.Task<MLMultiArrayDataPointer> GetBytesAsync ();
public virtual void GetMutableBytes (System.Action<System.IntPtr,System.nint,Foundation.NSArray<Foundation.NSNumber>> handler);
public virtual System.Threading.Tasks.Task<MLMultiArrayMutableDataPointer> GetMutableBytesAsync ();
Added property:
public virtual Foundation.NSDictionary OutputBackings { get; set; }
public class MLModelAsset : Foundation.NSObject {
// constructors
protected MLModelAsset (Foundation.NSObjectFlag t);
protected MLModelAsset (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class MLModelCompilationLoadResult {
// constructors
public MLModelCompilationLoadResult (MLModel arg1);
// properties
public MLModel Arg1 { get; set; }
}
public class MLMultiArrayDataPointer {
// constructors
public MLMultiArrayDataPointer (IntPtr arg1, nint arg2);
// properties
public IntPtr Arg1 { get; set; }
public nint Arg2 { get; set; }
}
public class MLMultiArrayMutableDataPointer {
// constructors
public MLMultiArrayMutableDataPointer (IntPtr arg1, nint arg2, Foundation.NSArray<Foundation.NSNumber> arg3);
// properties
public IntPtr Arg1 { get; set; }
public nint Arg2 { get; set; }
public Foundation.NSArray<Foundation.NSNumber> Arg3 { get; set; }
}
Modified fields:
-public const string SdkVersion = "8.5";
+public const string SdkVersion = "9.0";
-public const string Version = "15.10.0";
+public const string Version = "15.99.0";
Added field:
public static const string CallKitLibrary = "/System/Library/Frameworks/CallKit.framework/CallKit";
Added method:
public static IntPtr dlopen (string path, Dlfcn.Mode mode);
[Serializable]
[Flags]
public enum Mode {
First = 256,
Global = 8,
Lazy = 1,
Local = 4,
NoDelete = 128,
NoLoad = 16,
None = 0,
Now = 2,
}
Added methods:
public static void ThrowArgumentNullException (string argumentName, string message);
public static void ThrowArgumentOutOfRangeException (string argumentName, object actualValue, string message);
public sealed class NativeNameAttribute : System.Attribute {
// constructors
public NativeNameAttribute (string name);
// properties
public string NativeName { get; set; }
}
public interface IWKApplicationDelegate : ObjCRuntime.INativeObject, System.IDisposable {
}
public class WKApplication : Foundation.NSObject {
// constructors
protected WKApplication (Foundation.NSObjectFlag t);
protected WKApplication (IntPtr handle);
// properties
public virtual WKApplicationState ApplicationState { get; }
public virtual bool Autorotated { get; }
public override IntPtr ClassHandle { get; }
public IWKApplicationDelegate Delegate { get; }
public virtual UIKit.UIColor GlobalTintColor { get; }
public virtual bool IsApplicationRunningInDock { get; }
public virtual bool IsAutorotating { get; set; }
public virtual bool RegisteredForRemoteNotifications { get; }
public virtual WKInterfaceController RootInterfaceController { get; }
public static WKApplication SharedApplication { get; }
public virtual WKInterfaceController VisibleInterfaceController { get; }
public virtual Foundation.NSObject WeakDelegate { get; }
// methods
protected override void Dispose (bool disposing);
public virtual void OpenSystemUrl (Foundation.NSUrl url);
public virtual void RegisterForRemoteNotifications ();
public virtual void ScheduleBackgroundRefresh (Foundation.NSDate preferredFireDate, Foundation.NSObject userInfo, System.Action<Foundation.NSError> scheduledCompletion);
public virtual System.Threading.Tasks.Task ScheduleBackgroundRefreshAsync (Foundation.NSDate preferredFireDate, Foundation.NSObject userInfo);
public virtual void ScheduleSnapshotRefresh (Foundation.NSDate preferredFireDate, Foundation.NSObject userInfo, System.Action<Foundation.NSError> scheduledCompletion);
public virtual System.Threading.Tasks.Task ScheduleSnapshotRefreshAsync (Foundation.NSDate preferredFireDate, Foundation.NSObject userInfo);
public virtual void UnregisterForRemoteNotifications ();
}
public class WKApplicationDelegate : Foundation.NSObject, ObjCRuntime.INativeObject, System.IDisposable, IWKApplicationDelegate {
// constructors
public WKApplicationDelegate ();
protected WKApplicationDelegate (Foundation.NSObjectFlag t);
protected WKApplicationDelegate (IntPtr handle);
// methods
public virtual void ApplicationDidBecomeActive ();
public virtual void ApplicationDidEnterBackground ();
public virtual void ApplicationDidFinishLaunching ();
public virtual void ApplicationWillEnterForeground ();
public virtual void ApplicationWillResignActive ();
public virtual void DeviceOrientationDidChange ();
public virtual void DidFailToRegisterForRemoteNotifications (Foundation.NSError error);
public virtual void DidReceiveRemoteNotification (Foundation.NSDictionary userInfo, System.Action<WKBackgroundFetchResult> completionHandler);
public virtual void DidRegisterForRemoteNotifications (Foundation.NSData deviceToken);
public virtual void HandleActiveWorkoutRecovery ();
public virtual void HandleActivity (Foundation.NSUserActivity userActivity);
public virtual void HandleBackgroundTasks (Foundation.NSSet<WKRefreshBackgroundTask> backgroundTasks);
public virtual void HandleExtendedRuntimeSession (WKExtendedRuntimeSession extendedRuntimeSession);
public virtual void HandleIntent (Intents.INIntent intent, System.Action<Intents.INIntentResponse> completionHandler);
public virtual void HandleRemoteNowPlayingActivity ();
public virtual void HandleUserActivity (Foundation.NSDictionary userInfo);
public virtual void HandleWorkoutConfiguration (HealthKit.HKWorkoutConfiguration workoutConfiguration);
public virtual void UserDidAcceptCloudKitShare (CloudKit.CKShareMetadata cloudKitShareMetadata);
}
public static class WKApplicationDelegate_Extensions {
// methods
public static void ApplicationDidBecomeActive (this IWKApplicationDelegate This);
public static void ApplicationDidEnterBackground (this IWKApplicationDelegate This);
public static void ApplicationDidFinishLaunching (this IWKApplicationDelegate This);
public static void ApplicationWillEnterForeground (this IWKApplicationDelegate This);
public static void ApplicationWillResignActive (this IWKApplicationDelegate This);
public static void DeviceOrientationDidChange (this IWKApplicationDelegate This);
public static void DidFailToRegisterForRemoteNotifications (this IWKApplicationDelegate This, Foundation.NSError error);
public static void DidReceiveRemoteNotification (this IWKApplicationDelegate This, Foundation.NSDictionary userInfo, System.Action<WKBackgroundFetchResult> completionHandler);
public static void DidRegisterForRemoteNotifications (this IWKApplicationDelegate This, Foundation.NSData deviceToken);
public static void HandleActiveWorkoutRecovery (this IWKApplicationDelegate This);
public static void HandleActivity (this IWKApplicationDelegate This, Foundation.NSUserActivity userActivity);
public static void HandleBackgroundTasks (this IWKApplicationDelegate This, Foundation.NSSet<WKRefreshBackgroundTask> backgroundTasks);
public static void HandleExtendedRuntimeSession (this IWKApplicationDelegate This, WKExtendedRuntimeSession extendedRuntimeSession);
public static void HandleIntent (this IWKApplicationDelegate This, Intents.INIntent intent, System.Action<Intents.INIntentResponse> completionHandler);
public static void HandleRemoteNowPlayingActivity (this IWKApplicationDelegate This);
public static void HandleUserActivity (this IWKApplicationDelegate This, Foundation.NSDictionary userInfo);
public static void HandleWorkoutConfiguration (this IWKApplicationDelegate This, HealthKit.HKWorkoutConfiguration workoutConfiguration);
public static void UserDidAcceptCloudKitShare (this IWKApplicationDelegate This, CloudKit.CKShareMetadata cloudKitShareMetadata);
}
public class WKBluetoothAlertRefreshBackgroundTask : WatchKit.WKRefreshBackgroundTask {
// constructors
public WKBluetoothAlertRefreshBackgroundTask ();
protected WKBluetoothAlertRefreshBackgroundTask (Foundation.NSObjectFlag t);
protected WKBluetoothAlertRefreshBackgroundTask (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class CXAction : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CXAction ();
public CXAction (Foundation.NSCoder coder);
protected CXAction (Foundation.NSObjectFlag t);
protected CXAction (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool Complete { get; }
public virtual Foundation.NSDate TimeoutDate { get; }
public virtual Foundation.NSUuid Uuid { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
public virtual void Fail ();
public virtual void Fulfill ();
}
public class CXAnswerCallAction : CallKit.CXCallAction {
// constructors
public CXAnswerCallAction (Foundation.NSCoder coder);
protected CXAnswerCallAction (Foundation.NSObjectFlag t);
public CXAnswerCallAction (Foundation.NSUuid callUuid);
protected CXAnswerCallAction (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void Fulfill (Foundation.NSDate dateConnected);
}
public class CXCall : Foundation.NSObject {
// constructors
protected CXCall (Foundation.NSObjectFlag t);
protected CXCall (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool HasConnected { get; }
public virtual bool HasEnded { get; }
public virtual bool OnHold { get; }
public virtual bool Outgoing { get; }
public virtual Foundation.NSUuid Uuid { get; }
// methods
public virtual bool IsEqual (CXCall call);
}
public class CXCallAction : CallKit.CXAction {
// constructors
public CXCallAction (Foundation.NSCoder coder);
protected CXCallAction (Foundation.NSObjectFlag t);
public CXCallAction (Foundation.NSUuid callUuid);
protected CXCallAction (IntPtr handle);
// properties
public virtual Foundation.NSUuid CallUuid { get; }
public override IntPtr ClassHandle { get; }
}
public class CXCallController : Foundation.NSObject {
// constructors
public CXCallController ();
public CXCallController (CoreFoundation.DispatchQueue queue);
protected CXCallController (Foundation.NSObjectFlag t);
protected CXCallController (IntPtr handle);
// properties
public virtual CXCallObserver CallObserver { get; }
public override IntPtr ClassHandle { get; }
// methods
public virtual void RequestTransaction (CXAction action, System.Action<Foundation.NSError> completion);
public virtual void RequestTransaction (CXAction[] actions, System.Action<Foundation.NSError> completion);
public virtual void RequestTransaction (CXTransaction transaction, System.Action<Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task RequestTransactionAsync (CXAction action);
public virtual System.Threading.Tasks.Task RequestTransactionAsync (CXAction[] actions);
public virtual System.Threading.Tasks.Task RequestTransactionAsync (CXTransaction transaction);
}
[Serializable]
public enum CXCallEndedReason {
AnsweredElsewhere = 4,
DeclinedElsewhere = 5,
Failed = 1,
RemoteEnded = 2,
Unanswered = 3,
}
public class CXCallObserver : Foundation.NSObject {
// constructors
public CXCallObserver ();
protected CXCallObserver (Foundation.NSObjectFlag t);
protected CXCallObserver (IntPtr handle);
// properties
public virtual CXCall[] Calls { get; }
public override IntPtr ClassHandle { get; }
// methods
public virtual void SetDelegate (ICXCallObserverDelegate aDelegate, CoreFoundation.DispatchQueue queue);
}
public abstract class CXCallObserverDelegate : Foundation.NSObject, ICXCallObserverDelegate, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected CXCallObserverDelegate ();
protected CXCallObserverDelegate (Foundation.NSObjectFlag t);
protected CXCallObserverDelegate (IntPtr handle);
// methods
public virtual void CallChanged (CXCallObserver callObserver, CXCall call);
}
public class CXCallUpdate : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CXCallUpdate ();
protected CXCallUpdate (Foundation.NSObjectFlag t);
protected CXCallUpdate (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool HasVideo { get; set; }
public virtual string LocalizedCallerName { get; set; }
public virtual CXHandle RemoteHandle { get; set; }
public virtual bool SupportsDtmf { get; set; }
public virtual bool SupportsGrouping { get; set; }
public virtual bool SupportsHolding { get; set; }
public virtual bool SupportsUngrouping { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class CXEndCallAction : CallKit.CXCallAction {
// constructors
public CXEndCallAction (Foundation.NSCoder coder);
protected CXEndCallAction (Foundation.NSObjectFlag t);
public CXEndCallAction (Foundation.NSUuid callUuid);
protected CXEndCallAction (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void Fulfill (Foundation.NSDate dateEnded);
}
[Serializable]
public enum CXErrorCode {
InvalidArgument = 2,
MissingVoIPBackgroundMode = 3,
Unentitled = 1,
Unknown = 0,
}
[Serializable]
public enum CXErrorCodeCallDirectoryManagerError {
CurrentlyLoading = 7,
DuplicateEntries = 4,
EntriesOutOfOrder = 3,
ExtensionDisabled = 6,
LoadingInterrupted = 2,
MaximumEntriesExceeded = 5,
NoExtensionFound = 1,
UnexpectedIncrementalRemoval = 8,
Unknown = 0,
}
public static class CXErrorCodeCallDirectoryManagerErrorExtensions {
// methods
public static Foundation.NSString GetDomain (this CXErrorCodeCallDirectoryManagerError self);
}
public static class CXErrorCodeExtensions {
// methods
public static Foundation.NSString GetDomain (this CXErrorCode self);
}
[Serializable]
public enum CXErrorCodeIncomingCallError {
CallUuidAlreadyExists = 2,
FilteredByBlockList = 4,
FilteredByDoNotDisturb = 3,
Unentitled = 1,
Unknown = 0,
}
public static class CXErrorCodeIncomingCallErrorExtensions {
// methods
public static Foundation.NSString GetDomain (this CXErrorCodeIncomingCallError self);
}
[Serializable]
public enum CXErrorCodeNotificationServiceExtensionError {
InvalidClientProcess = 1,
MissingNotificationFilteringEntitlement = 2,
Unknown = 0,
}
public static class CXErrorCodeNotificationServiceExtensionErrorExtensions {
// methods
public static Foundation.NSString GetDomain (this CXErrorCodeNotificationServiceExtensionError self);
}
[Serializable]
public enum CXErrorCodeRequestTransactionError {
CallUuidAlreadyExists = 5,
EmptyTransaction = 3,
InvalidAction = 6,
MaximumCallGroupsReached = 7,
Unentitled = 1,
Unknown = 0,
UnknownCallProvider = 2,
UnknownCallUuid = 4,
}
public static class CXErrorCodeRequestTransactionErrorExtensions {
// methods
public static Foundation.NSString GetDomain (this CXErrorCodeRequestTransactionError self);
}
public class CXHandle : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CXHandle (Foundation.NSCoder coder);
protected CXHandle (Foundation.NSObjectFlag t);
protected CXHandle (IntPtr handle);
public CXHandle (CXHandleType type, string value);
// properties
public override IntPtr ClassHandle { get; }
public virtual CXHandleType Type { get; }
public virtual string Value { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
public virtual bool IsEqual (CXHandle handle);
}
[Serializable]
public enum CXHandleType {
EmailAddress = 3,
Generic = 1,
PhoneNumber = 2,
}
public class CXPlayDtmfCallAction : CallKit.CXCallAction {
// constructors
public CXPlayDtmfCallAction (Foundation.NSCoder coder);
protected CXPlayDtmfCallAction (Foundation.NSObjectFlag t);
protected CXPlayDtmfCallAction (IntPtr handle);
public CXPlayDtmfCallAction (Foundation.NSUuid callUuid, string digits, CXPlayDtmfCallActionType type);
// properties
public override IntPtr ClassHandle { get; }
public virtual string Digits { get; set; }
public virtual CXPlayDtmfCallActionType Type { get; set; }
}
[Serializable]
public enum CXPlayDtmfCallActionType {
HardPause = 3,
SingleTone = 1,
SoftPause = 2,
}
public class CXProvider : Foundation.NSObject {
// constructors
public CXProvider (CXProviderConfiguration configuration);
protected CXProvider (Foundation.NSObjectFlag t);
protected CXProvider (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CXProviderConfiguration Configuration { get; set; }
public virtual CXTransaction[] PendingTransactions { get; }
// methods
public CXCallAction[] GetPendingCallActions<T> (Foundation.NSUuid callUuid);
public virtual CXCallAction[] GetPendingCallActions (ObjCRuntime.Class callActionClass, Foundation.NSUuid callUuid);
public virtual void Invalidate ();
public virtual void ReportCall (Foundation.NSUuid uuid, CXCallUpdate update);
public virtual void ReportCall (Foundation.NSUuid uuid, Foundation.NSDate dateEnded, CXCallEndedReason endedReason);
public virtual void ReportConnectedOutgoingCall (Foundation.NSUuid uuid, Foundation.NSDate dateConnected);
public virtual void ReportConnectingOutgoingCall (Foundation.NSUuid uuid, Foundation.NSDate dateStartedConnecting);
public virtual void ReportNewIncomingCall (Foundation.NSUuid uuid, CXCallUpdate update, System.Action<Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task ReportNewIncomingCallAsync (Foundation.NSUuid uuid, CXCallUpdate update);
public virtual void SetDelegate (ICXProviderDelegate aDelegate, CoreFoundation.DispatchQueue queue);
}
public class CXProviderConfiguration : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CXProviderConfiguration ();
protected CXProviderConfiguration (Foundation.NSObjectFlag t);
protected CXProviderConfiguration (IntPtr handle);
public CXProviderConfiguration (string localizedName);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSData IconTemplateImageData { get; set; }
public virtual bool IncludesCallsInRecents { get; set; }
public virtual string LocalizedName { get; }
public virtual nuint MaximumCallGroups { get; set; }
public virtual nuint MaximumCallsPerCallGroup { get; set; }
public virtual string RingtoneSound { get; set; }
public virtual Foundation.NSSet<Foundation.NSNumber> SupportedHandleTypes { get; set; }
public virtual bool SupportsVideo { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public abstract class CXProviderDelegate : Foundation.NSObject, ICXProviderDelegate, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected CXProviderDelegate ();
protected CXProviderDelegate (Foundation.NSObjectFlag t);
protected CXProviderDelegate (IntPtr handle);
// methods
public virtual void DidActivateAudioSession (CXProvider provider, AVFoundation.AVAudioSession audioSession);
public virtual void DidBegin (CXProvider provider);
public virtual void DidDeactivateAudioSession (CXProvider provider, AVFoundation.AVAudioSession audioSession);
public virtual void DidReset (CXProvider provider);
public virtual bool ExecuteTransaction (CXProvider provider, CXTransaction transaction);
public virtual void PerformAnswerCallAction (CXProvider provider, CXAnswerCallAction action);
public virtual void PerformEndCallAction (CXProvider provider, CXEndCallAction action);
public virtual void PerformPlayDtmfCallAction (CXProvider provider, CXPlayDtmfCallAction action);
public virtual void PerformSetGroupCallAction (CXProvider provider, CXSetGroupCallAction action);
public virtual void PerformSetHeldCallAction (CXProvider provider, CXSetHeldCallAction action);
public virtual void PerformSetMutedCallAction (CXProvider provider, CXSetMutedCallAction action);
public virtual void PerformStartCallAction (CXProvider provider, CXStartCallAction action);
public virtual void TimedOutPerformingAction (CXProvider provider, CXAction action);
}
public static class CXProviderDelegate_Extensions {
// methods
public static void DidActivateAudioSession (this ICXProviderDelegate This, CXProvider provider, AVFoundation.AVAudioSession audioSession);
public static void DidBegin (this ICXProviderDelegate This, CXProvider provider);
public static void DidDeactivateAudioSession (this ICXProviderDelegate This, CXProvider provider, AVFoundation.AVAudioSession audioSession);
public static bool ExecuteTransaction (this ICXProviderDelegate This, CXProvider provider, CXTransaction transaction);
public static void PerformAnswerCallAction (this ICXProviderDelegate This, CXProvider provider, CXAnswerCallAction action);
public static void PerformEndCallAction (this ICXProviderDelegate This, CXProvider provider, CXEndCallAction action);
public static void PerformPlayDtmfCallAction (this ICXProviderDelegate This, CXProvider provider, CXPlayDtmfCallAction action);
public static void PerformSetGroupCallAction (this ICXProviderDelegate This, CXProvider provider, CXSetGroupCallAction action);
public static void PerformSetHeldCallAction (this ICXProviderDelegate This, CXProvider provider, CXSetHeldCallAction action);
public static void PerformSetMutedCallAction (this ICXProviderDelegate This, CXProvider provider, CXSetMutedCallAction action);
public static void PerformStartCallAction (this ICXProviderDelegate This, CXProvider provider, CXStartCallAction action);
public static void TimedOutPerformingAction (this ICXProviderDelegate This, CXProvider provider, CXAction action);
}
public class CXSetGroupCallAction : CallKit.CXCallAction {
// constructors
public CXSetGroupCallAction (Foundation.NSCoder coder);
protected CXSetGroupCallAction (Foundation.NSObjectFlag t);
protected CXSetGroupCallAction (IntPtr handle);
public CXSetGroupCallAction (Foundation.NSUuid callUuid, Foundation.NSUuid callUuidToGroupWith);
// properties
public virtual Foundation.NSUuid CallUuidToGroupWith { get; set; }
public override IntPtr ClassHandle { get; }
}
public class CXSetHeldCallAction : CallKit.CXCallAction {
// constructors
public CXSetHeldCallAction (Foundation.NSCoder coder);
protected CXSetHeldCallAction (Foundation.NSObjectFlag t);
protected CXSetHeldCallAction (IntPtr handle);
public CXSetHeldCallAction (Foundation.NSUuid callUuid, bool onHold);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool OnHold { get; set; }
}
public class CXSetMutedCallAction : CallKit.CXCallAction {
// constructors
public CXSetMutedCallAction (Foundation.NSCoder coder);
protected CXSetMutedCallAction (Foundation.NSObjectFlag t);
protected CXSetMutedCallAction (IntPtr handle);
public CXSetMutedCallAction (Foundation.NSUuid callUuid, bool muted);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool Muted { get; set; }
}
public class CXStartCallAction : CallKit.CXCallAction {
// constructors
public CXStartCallAction (Foundation.NSCoder coder);
protected CXStartCallAction (Foundation.NSObjectFlag t);
protected CXStartCallAction (IntPtr handle);
public CXStartCallAction (Foundation.NSUuid callUuid, CXHandle callHandle);
// properties
public virtual CXHandle CallHandle { get; set; }
public override IntPtr ClassHandle { get; }
public virtual string ContactIdentifier { get; set; }
public virtual bool Video { get; set; }
// methods
public virtual void Fulfill (Foundation.NSDate dateStarted);
}
public class CXTransaction : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CXTransaction (CXAction action);
public CXTransaction (CXAction[] actions);
public CXTransaction (Foundation.NSCoder coder);
protected CXTransaction (Foundation.NSObjectFlag t);
protected CXTransaction (IntPtr handle);
// properties
public virtual CXAction[] Actions { get; }
public override IntPtr ClassHandle { get; }
public virtual bool Complete { get; }
public virtual Foundation.NSUuid Uuid { get; }
// methods
public virtual void AddAction (CXAction action);
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public interface ICXCallObserverDelegate : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual void CallChanged (CXCallObserver callObserver, CXCall call);
}
public interface ICXProviderDelegate : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual void DidReset (CXProvider provider);
}