title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.TVOS SDK API diff: 16.4.0 vs 17.0.0 |
List of API changes between Xamarin.TVOS versions 16.4.0 and 17.0.0. |
spouliot |
sepoulio |
10/23/2023 |
article |
7048d0ab-b354-3ac8-554a-4c4cca78c618 |
xamarin |
Added method:
public virtual void GenerateCGImageAsynchronously (CoreMedia.CMTime requestedTime, AVAssetImageGenerateAsynchronouslyForTimeCompletionHandler handler);
Obsoleted properties:
[Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")]
public static Foundation.NSString CategoryAmbient { get; }
[Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")]
public static Foundation.NSString CategoryMultiRoute { get; }
[Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")]
public static Foundation.NSString CategoryPlayAndRecord { get; }
[Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")]
public static Foundation.NSString CategoryPlayback { get; }
[Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")]
public static Foundation.NSString CategoryRecord { get; }
[Obsolete ("Use 'AVAudioSessionCategory' enum values instead.")]
public static Foundation.NSString CategorySoloAmbient { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString ModeDefault { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString ModeGameChat { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString ModeMeasurement { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString ModeMoviePlayback { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString ModeSpokenAudio { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString ModeVideoChat { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString ModeVideoRecording { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString ModeVoiceChat { get; }
[Obsolete ("Use 'AVAudioSessionMode' enum values instead.")]
public static Foundation.NSString VoicePrompt { get; }
Added methods:
public Foundation.NSError SetActive (bool active, AVAudioSessionSetActiveOptions options);
public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionCategoryOptions options, out Foundation.NSError outError);
public Foundation.NSError SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionCategoryOptions options);
public Foundation.NSError SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionCategoryOptions options);
public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionCategoryOptions options, out Foundation.NSError outError);
public bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionCategoryOptions options, out Foundation.NSError outError);
public bool SetCategory (AVAudioSessionCategory category, AVAudioSessionMode mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out Foundation.NSError outError);
public bool SetCategory (AVAudioSessionCategory category, string mode, AVAudioSessionRouteSharingPolicy policy, AVAudioSessionCategoryOptions options, out Foundation.NSError outError);
public bool SetMode (AVAudioSessionMode mode, out Foundation.NSError error);
Obsoleted constructors:
[Obsolete ("Use the overload that takes a delegate that does not take a 'ref AudioBuffers' instead. Assigning a value to the 'inputData' parameter in the callback has no effect.")]
public AVAudioSinkNode (AVAudioSinkNodeReceiverHandler receiverHandler);
Added constructors:
public AVAudioSinkNode (AVAudioSinkNodeReceiverHandler2 receiverHandler);
public AVAudioSinkNode (AVAudioSinkNodeReceiverHandlerRaw receiverHandler);
Added methods:
public static Foundation.NSString[] ToArray (this AVMetadataObjectType value);
public static AVMetadataObjectType ToFlags (System.Collections.Generic.IEnumerable<Foundation.NSString> constants);
Added method:
public virtual Cinematic.CNCompositionInfo AddTracks (Cinematic.CNAssetInfo assetInfo, int preferredStartingTrackID);
public sealed delegate AVAssetImageGenerateAsynchronouslyForTimeCompletionHandler : System.MulticastDelegate {
// constructors
public AVAssetImageGenerateAsynchronouslyForTimeCompletionHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (CoreGraphics.CGImage imageRef, CoreMedia.CMTime actualTime, Foundation.NSError error, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (CoreGraphics.CGImage imageRef, CoreMedia.CMTime actualTime, Foundation.NSError error);
}
public static class AVAudioSessionCategoryExtensions {
// methods
public static Foundation.NSString GetConstant (this AVAudioSessionCategory self);
public static AVAudioSessionCategory GetValue (Foundation.NSString constant);
}
[Serializable]
public enum AVAudioSessionMode {
Default = 0,
GameChat = 4,
Measurement = 3,
MoviePlayback = 5,
SpokenAudio = 7,
VideoChat = 6,
VideoRecording = 2,
VoiceChat = 1,
VoicePrompt = 8,
}
public static class AVAudioSessionModeExtensions {
// methods
public static Foundation.NSString GetConstant (this AVAudioSessionMode self);
public static AVAudioSessionMode GetValue (Foundation.NSString constant);
}
public sealed delegate AVAudioSinkNodeReceiverHandler2 : System.MulticastDelegate {
// constructors
public AVAudioSinkNodeReceiverHandler2 (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (AudioToolbox.AudioTimeStamp timestamp, uint frameCount, AudioToolbox.AudioBuffers inputData, System.AsyncCallback callback, object object);
public virtual int EndInvoke (System.IAsyncResult result);
public virtual int Invoke (AudioToolbox.AudioTimeStamp timestamp, uint frameCount, AudioToolbox.AudioBuffers inputData);
}
public sealed delegate AVAudioSinkNodeReceiverHandlerRaw : System.MulticastDelegate {
// constructors
public AVAudioSinkNodeReceiverHandlerRaw (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (IntPtr timestamp, uint frameCount, IntPtr inputData, System.AsyncCallback callback, object object);
public virtual int EndInvoke (System.IAsyncResult result);
public virtual int Invoke (IntPtr timestamp, uint frameCount, IntPtr inputData);
}
public static class AXAnimatedImagesUtilities {
// properties
public static Foundation.NSString AnimatedImagesEnabledDidChangeNotification { get; }
public static bool Enabled { get; }
// inner types
public static class Notifications {
// methods
public static Foundation.NSObject ObserveAnimatedImagesEnabledDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveAnimatedImagesEnabledDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
}
}
public static class AXCustomContentProvider_Extensions {
// methods
public static System.Func<AXCustomContent[]> GetAccessibilityCustomContentHandler (this IAXCustomContentProvider This);
public static void SetAccessibilityCustomContentHandler (this IAXCustomContentProvider This, System.Func<AXCustomContent[]> value);
}
public static class AXPrefers {
// properties
public static Foundation.NSString HorizontalTextLayoutDidChangeNotification { get; }
// methods
public static bool HorizontalTextEnabled ();
// inner types
public static class Notifications {
// methods
public static Foundation.NSObject ObserveHorizontalTextLayoutDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveHorizontalTextLayoutDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
}
}
Added values:
Ogg_3_0 = 9830403,
Ogg_4_0 = 12124164,
Ogg_5_0 = 13893637,
Ogg_5_1 = 13959174,
Ogg_6_1 = 14024711,
Ogg_7_1 = 14090248,
[Serializable]
public enum ASAuthorizationPublicKeyCredentialAttachment {
CrossPlatform = 1,
Platform = 0,
}
New Type: AuthenticationServices.ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState
[Serializable]
public enum ASAuthorizationWebBrowserPublicKeyCredentialManagerAuthorizationState {
Authorized = 0,
Denied = 1,
NotDetermined = 2,
}
[Serializable]
public enum ASPublicKeyCredentialClientDataCrossOriginValue {
CrossOrigin = 1,
NotSet = 0,
SameOriginWithAncestors = 2,
}
public class BGHealthResearchTask : BackgroundTasks.BGProcessingTask {
// constructors
public BGHealthResearchTask ();
protected BGHealthResearchTask (Foundation.NSObjectFlag t);
protected BGHealthResearchTask (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class BGHealthResearchTaskRequest : BackgroundTasks.BGProcessingTaskRequest {
// constructors
public BGHealthResearchTaskRequest ();
protected BGHealthResearchTaskRequest (Foundation.NSObjectFlag t);
protected BGHealthResearchTaskRequest (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string ProtectionTypeOfRequiredData { get; set; }
}
Added property:
public static nint MaximumResults { get; }
Added properties:
public static Foundation.NSString CreationDateKey { get; }
public static Foundation.NSString CreatorUserRecordIdKey { get; }
public static Foundation.NSString LastModifiedUserRecordIdKey { get; }
public static Foundation.NSString ModificationDateKey { get; }
public static Foundation.NSString RecordIdKey { get; }
Obsoleted constructors:
[Obsolete ("Get them from 'CKFetchShareMetadataOperation' or platform-specific scene / app delegate callbacks.")]
public CKShareMetadata ();
public class CKSyncEngine : Foundation.NSObject {
// constructors
public CKSyncEngine (CKSyncEngineConfiguration configuration);
protected CKSyncEngine (Foundation.NSObjectFlag t);
protected CKSyncEngine (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKDatabase Database { get; }
public virtual CKSyncEngineState State { get; }
// methods
public virtual void CancelOperations (System.Action completionHandler);
public virtual System.Threading.Tasks.Task CancelOperationsAsync ();
public virtual void FetchChanges (System.Action<Foundation.NSError> completionHandler);
public virtual void FetchChanges (CKSyncEngineFetchChangesOptions options, System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task FetchChangesAsync ();
public virtual System.Threading.Tasks.Task FetchChangesAsync (CKSyncEngineFetchChangesOptions options);
public virtual void SendChanges (System.Action<Foundation.NSError> completionHandler);
public virtual void SendChanges (CKSyncEngineSendChangesOptions options, System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task SendChangesAsync ();
public virtual System.Threading.Tasks.Task SendChangesAsync (CKSyncEngineSendChangesOptions options);
}
public class CKSyncEngineAccountChangeEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineAccountChangeEvent ();
protected CKSyncEngineAccountChangeEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineAccountChangeEvent (IntPtr handle);
// properties
public virtual CKSyncEngineAccountChangeType ChangeType { get; }
public override IntPtr ClassHandle { get; }
public virtual CKRecordID CurrentUser { get; }
public virtual CKRecordID PreviousUser { get; }
}
[Serializable]
public enum CKSyncEngineAccountChangeType {
SignIn = 0,
SignOut = 1,
SwitchAccounts = 2,
}
public class CKSyncEngineConfiguration : Foundation.NSObject {
// constructors
protected CKSyncEngineConfiguration (Foundation.NSObjectFlag t);
protected CKSyncEngineConfiguration (IntPtr handle);
public CKSyncEngineConfiguration (CKDatabase database, CKSyncEngineStateSerialization stateSerialization, ICKSyncEngineDelegate delegate);
// properties
public virtual bool AutomaticallySync { get; set; }
public override IntPtr ClassHandle { get; }
public virtual CKDatabase Database { get; set; }
public ICKSyncEngineDelegate Delegate { get; set; }
public virtual CKSyncEngineStateSerialization StateSerialization { get; set; }
public virtual string SubscriptionId { get; set; }
public virtual Foundation.NSObject WeakDelegate { get; set; }
// methods
protected override void Dispose (bool disposing);
}
public abstract class CKSyncEngineDelegate : Foundation.NSObject, ICKSyncEngineDelegate, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected CKSyncEngineDelegate ();
protected CKSyncEngineDelegate (Foundation.NSObjectFlag t);
protected CKSyncEngineDelegate (IntPtr handle);
// methods
public virtual void SyncEngine (CKSyncEngine syncEngine, CKSyncEngineEvent event);
public virtual CKSyncEngineFetchChangesOptions SyncEngine (CKSyncEngine syncEngine, CKSyncEngineFetchChangesContext context);
public virtual CKSyncEngineRecordZoneChangeBatch SyncEngine (CKSyncEngine syncEngine, CKSyncEngineSendChangesContext context);
}
public static class CKSyncEngineDelegate_Extensions {
// methods
public static CKSyncEngineFetchChangesOptions SyncEngine (this ICKSyncEngineDelegate This, CKSyncEngine syncEngine, CKSyncEngineFetchChangesContext context);
}
public class CKSyncEngineDidFetchChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineDidFetchChangesEvent ();
protected CKSyncEngineDidFetchChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineDidFetchChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class CKSyncEngineDidFetchRecordZoneChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineDidFetchRecordZoneChangesEvent ();
protected CKSyncEngineDidFetchRecordZoneChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineDidFetchRecordZoneChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSError Error { get; }
public virtual CKRecordZoneID ZoneId { get; }
}
public class CKSyncEngineDidSendChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineDidSendChangesEvent ();
protected CKSyncEngineDidSendChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineDidSendChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineSendChangesContext Context { get; }
}
public class CKSyncEngineEvent : Foundation.NSObject {
// constructors
protected CKSyncEngineEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineEvent (IntPtr handle);
// properties
public virtual CKSyncEngineAccountChangeEvent AccountChangeEvent { get; }
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineDidFetchChangesEvent DidFetchChangesEvent { get; }
public virtual CKSyncEngineDidFetchRecordZoneChangesEvent DidFetchRecordZoneChangesEvent { get; }
public virtual CKSyncEngineDidSendChangesEvent DidSendChangesEvent { get; }
public virtual CKSyncEngineFetchedDatabaseChangesEvent FetchedDatabaseChangesEvent { get; }
public virtual CKSyncEngineFetchedRecordZoneChangesEvent FetchedRecordZoneChangesEvent { get; }
public virtual CKSyncEngineSentDatabaseChangesEvent SentDatabaseChangesEvent { get; }
public virtual CKSyncEngineSentRecordZoneChangesEvent SentRecordZoneChangesEvent { get; }
public virtual CKSyncEngineStateUpdateEvent StateUpdateEvent { get; }
public virtual CKSyncEngineEventType Type { get; }
public virtual CKSyncEngineWillFetchChangesEvent WillFetchChangesEvent { get; }
public virtual CKSyncEngineWillFetchRecordZoneChangesEvent WillFetchRecordZoneChangesEvent { get; }
public virtual CKSyncEngineWillSendChangesEvent WillSendChangesEvent { get; }
}
[Serializable]
public enum CKSyncEngineEventType {
AccountChange = 1,
DidFetchChanges = 9,
DidFetchRecordZoneChanges = 8,
DidSendChanges = 11,
FetchedDatabaseChanges = 2,
FetchedRecordZoneChanges = 3,
SentDatabaseChanges = 4,
SentRecordZoneChanges = 5,
StateUpdate = 0,
WillFetchChanges = 6,
WillFetchRecordZoneChanges = 7,
WillSendChanges = 10,
}
public class CKSyncEngineFailedRecordSave : Foundation.NSObject {
// constructors
protected CKSyncEngineFailedRecordSave (Foundation.NSObjectFlag t);
protected CKSyncEngineFailedRecordSave (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSError Error { get; }
public virtual CKRecord Record { get; }
}
public class CKSyncEngineFailedZoneSave : Foundation.NSObject {
// constructors
protected CKSyncEngineFailedZoneSave (Foundation.NSObjectFlag t);
protected CKSyncEngineFailedZoneSave (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSError Error { get; }
public virtual CKRecordZone RecordZone { get; }
}
public class CKSyncEngineFetchChangesContext : Foundation.NSObject {
// constructors
protected CKSyncEngineFetchChangesContext (Foundation.NSObjectFlag t);
protected CKSyncEngineFetchChangesContext (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineFetchChangesOptions Options { get; }
public virtual CKSyncEngineSyncReason Reason { get; }
}
public class CKSyncEngineFetchChangesOptions : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CKSyncEngineFetchChangesOptions ();
public CKSyncEngineFetchChangesOptions (CKSyncEngineFetchChangesScope scope);
protected CKSyncEngineFetchChangesOptions (Foundation.NSObjectFlag t);
protected CKSyncEngineFetchChangesOptions (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKOperationGroup OperationGroup { get; set; }
public virtual CKRecordZoneID[] PrioritizedZoneIds { get; set; }
public virtual CKSyncEngineFetchChangesScope Scope { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class CKSyncEngineFetchChangesScope : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CKSyncEngineFetchChangesScope ();
protected CKSyncEngineFetchChangesScope (Foundation.NSObjectFlag t);
protected CKSyncEngineFetchChangesScope (IntPtr handle);
public CKSyncEngineFetchChangesScope (Foundation.NSSet<CKRecordZoneID> zoneIds, bool excluded);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSSet<CKRecordZoneID> ExcludedZoneIds { get; }
public virtual Foundation.NSSet<CKRecordZoneID> ZoneIds { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class CKSyncEngineFetchedDatabaseChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineFetchedDatabaseChangesEvent ();
protected CKSyncEngineFetchedDatabaseChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineFetchedDatabaseChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineFetchedZoneDeletion[] Deletions { get; }
public virtual CKRecordZone[] Modifications { get; }
}
public class CKSyncEngineFetchedRecordDeletion : Foundation.NSObject {
// constructors
protected CKSyncEngineFetchedRecordDeletion (Foundation.NSObjectFlag t);
protected CKSyncEngineFetchedRecordDeletion (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKRecordID RecordId { get; }
public virtual string RecordType { get; }
}
public class CKSyncEngineFetchedRecordZoneChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineFetchedRecordZoneChangesEvent ();
protected CKSyncEngineFetchedRecordZoneChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineFetchedRecordZoneChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineFetchedRecordDeletion[] Deletions { get; }
public virtual CKRecord[] Modifications { get; }
}
public class CKSyncEngineFetchedZoneDeletion : Foundation.NSObject {
// constructors
protected CKSyncEngineFetchedZoneDeletion (Foundation.NSObjectFlag t);
protected CKSyncEngineFetchedZoneDeletion (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineZoneDeletionReason Reason { get; }
public virtual CKRecordZoneID ZoneId { get; }
}
public class CKSyncEnginePendingDatabaseChange : Foundation.NSObject {
// constructors
protected CKSyncEnginePendingDatabaseChange (Foundation.NSObjectFlag t);
protected CKSyncEnginePendingDatabaseChange (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEnginePendingDatabaseChangeType Type { get; }
public virtual CKRecordZoneID ZoneId { get; }
}
[Serializable]
public enum CKSyncEnginePendingDatabaseChangeType {
DeleteZone = 1,
SaveZone = 0,
}
public class CKSyncEnginePendingRecordZoneChange : Foundation.NSObject {
// constructors
protected CKSyncEnginePendingRecordZoneChange (Foundation.NSObjectFlag t);
protected CKSyncEnginePendingRecordZoneChange (IntPtr handle);
public CKSyncEnginePendingRecordZoneChange (CKRecordID recordId, CKSyncEnginePendingRecordZoneChangeType type);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKRecordID RecordId { get; }
public virtual CKSyncEnginePendingRecordZoneChangeType Type { get; }
}
[Serializable]
public enum CKSyncEnginePendingRecordZoneChangeType {
DeleteRecord = 1,
SaveRecord = 0,
}
public class CKSyncEnginePendingZoneDelete : CloudKit.CKSyncEnginePendingDatabaseChange {
// constructors
public CKSyncEnginePendingZoneDelete ();
public CKSyncEnginePendingZoneDelete (CKRecordZoneID zoneId);
protected CKSyncEnginePendingZoneDelete (Foundation.NSObjectFlag t);
protected CKSyncEnginePendingZoneDelete (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class CKSyncEnginePendingZoneSave : CloudKit.CKSyncEnginePendingDatabaseChange {
// constructors
public CKSyncEnginePendingZoneSave ();
public CKSyncEnginePendingZoneSave (CKRecordZone zone);
protected CKSyncEnginePendingZoneSave (Foundation.NSObjectFlag t);
protected CKSyncEnginePendingZoneSave (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKRecordZone Zone { get; }
}
public class CKSyncEngineRecordZoneChangeBatch : Foundation.NSObject {
// constructors
protected CKSyncEngineRecordZoneChangeBatch (Foundation.NSObjectFlag t);
protected CKSyncEngineRecordZoneChangeBatch (IntPtr handle);
public CKSyncEngineRecordZoneChangeBatch (CKSyncEnginePendingRecordZoneChange[] pendingChanges, System.Func<CKRecordID,CloudKit.CKRecord> recordProvider);
public CKSyncEngineRecordZoneChangeBatch (CKRecord[] recordsToSave, CKRecordID[] recordIdsToDelete, bool atomicByZone);
// properties
public virtual bool AtomicByZone { get; set; }
public override IntPtr ClassHandle { get; }
public virtual CKRecordID[] RecordIdsToDelete { get; }
public virtual CKRecord[] RecordsToSave { get; }
}
public class CKSyncEngineSendChangesContext : Foundation.NSObject {
// constructors
protected CKSyncEngineSendChangesContext (Foundation.NSObjectFlag t);
protected CKSyncEngineSendChangesContext (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineSendChangesOptions Options { get; }
public virtual CKSyncEngineSyncReason Reason { get; }
}
public class CKSyncEngineSendChangesOptions : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CKSyncEngineSendChangesOptions ();
public CKSyncEngineSendChangesOptions (CKSyncEngineSendChangesScope scope);
protected CKSyncEngineSendChangesOptions (Foundation.NSObjectFlag t);
protected CKSyncEngineSendChangesOptions (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKOperationGroup OperationGroup { get; set; }
public virtual CKSyncEngineSendChangesScope Scope { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class CKSyncEngineSendChangesScope : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CKSyncEngineSendChangesScope ();
protected CKSyncEngineSendChangesScope (Foundation.NSObjectFlag t);
public CKSyncEngineSendChangesScope (Foundation.NSSet<CKRecordID> recordIds);
protected CKSyncEngineSendChangesScope (IntPtr handle);
public CKSyncEngineSendChangesScope (Foundation.NSSet<CKRecordZoneID> zoneIds, bool excluded);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSSet<CKRecordZoneID> ExcludedZoneIds { get; }
public virtual Foundation.NSSet<CKRecordID> RecordIds { get; }
public virtual Foundation.NSSet<CKRecordZoneID> ZoneIds { get; }
// methods
public virtual bool ContainsPendingRecordZoneChange (CKSyncEnginePendingRecordZoneChange pendingRecordZoneChange);
public virtual bool ContainsRecordId (CKRecordID recordId);
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class CKSyncEngineSentDatabaseChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineSentDatabaseChangesEvent ();
protected CKSyncEngineSentDatabaseChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineSentDatabaseChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKRecordZoneID[] DeletedZoneIds { get; }
public virtual Foundation.NSDictionary<CKRecordZoneID,Foundation.NSError> FailedZoneDeletes { get; }
public virtual CKSyncEngineFailedZoneSave[] FailedZoneSaves { get; }
public virtual CKRecordZone[] SavedZones { get; }
}
public class CKSyncEngineSentRecordZoneChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineSentRecordZoneChangesEvent ();
protected CKSyncEngineSentRecordZoneChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineSentRecordZoneChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKRecordID[] DeletedRecordIds { get; }
public virtual Foundation.NSDictionary<CKRecordID,Foundation.NSError> FailedRecordDeletes { get; }
public virtual CKSyncEngineFailedRecordSave[] FailedRecordSaves { get; }
public virtual CKRecord[] SavedRecords { get; }
}
public class CKSyncEngineState : Foundation.NSObject {
// constructors
protected CKSyncEngineState (Foundation.NSObjectFlag t);
protected CKSyncEngineState (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool HasPendingUntrackedChanges { get; set; }
public virtual CKSyncEnginePendingDatabaseChange[] PendingDatabaseChanges { get; }
public virtual CKSyncEnginePendingRecordZoneChange[] PendingRecordZoneChanges { get; }
public virtual CKRecordZoneID[] ZoneIdsWithUnfetchedServerChanges { get; }
// methods
public virtual void AddPendingDatabaseChanges (CKSyncEnginePendingDatabaseChange[] changes);
public virtual void AddPendingRecordZoneChanges (CKSyncEnginePendingRecordZoneChange[] changes);
public virtual void RemovePendingDatabaseChanges (CKSyncEnginePendingDatabaseChange[] changes);
public virtual void RemovePendingRecordZoneChanges (CKSyncEnginePendingRecordZoneChange[] changes);
}
public class CKSyncEngineStateSerialization : Foundation.NSObject, Foundation.INSCoding, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CKSyncEngineStateSerialization (Foundation.NSCoder coder);
protected CKSyncEngineStateSerialization (Foundation.NSObjectFlag t);
protected CKSyncEngineStateSerialization (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class CKSyncEngineStateUpdateEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineStateUpdateEvent ();
protected CKSyncEngineStateUpdateEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineStateUpdateEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineStateSerialization StateSerialization { get; }
}
[Serializable]
public enum CKSyncEngineSyncReason {
Manual = 1,
Scheduled = 0,
}
public class CKSyncEngineWillFetchChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineWillFetchChangesEvent ();
protected CKSyncEngineWillFetchChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineWillFetchChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class CKSyncEngineWillFetchRecordZoneChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineWillFetchRecordZoneChangesEvent ();
protected CKSyncEngineWillFetchRecordZoneChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineWillFetchRecordZoneChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKRecordZoneID ZoneId { get; }
}
public class CKSyncEngineWillSendChangesEvent : CloudKit.CKSyncEngineEvent {
// constructors
public CKSyncEngineWillSendChangesEvent ();
protected CKSyncEngineWillSendChangesEvent (Foundation.NSObjectFlag t);
protected CKSyncEngineWillSendChangesEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CKSyncEngineSendChangesContext Context { get; }
}
[Serializable]
public enum CKSyncEngineZoneDeletionReason {
Deleted = 0,
EncryptedDataReset = 2,
Purged = 1,
}
public interface ICKSyncEngineDelegate : ObjCRuntime.INativeObject, System.IDisposable {
// methods
public virtual void SyncEngine (CKSyncEngine syncEngine, CKSyncEngineEvent event);
public virtual CKSyncEngineRecordZoneChangeBatch SyncEngine (CKSyncEngine syncEngine, CKSyncEngineSendChangesContext context);
}
Added event:
public event System.EventHandler<CBPeripheralDiconnectionEventEventArgs> DidDisconnectPeripheral;
Added method:
public virtual void DidDisconnectPeripheral (CBCentralManager central, CBPeripheral peripheral, double timestamp, bool isReconnecting, Foundation.NSError error);
Added method:
public static void DidDisconnectPeripheral (this ICBCentralManagerDelegate This, CBCentralManager central, CBPeripheral peripheral, double timestamp, bool isReconnecting, Foundation.NSError error);
Added property:
public bool? EnableAutoReconnect { get; }
public class CBPeripheralDiconnectionEventEventArgs : System.EventArgs {
// constructors
public CBPeripheralDiconnectionEventEventArgs (CBPeripheral peripheral, double timestamp, bool isReconnecting, Foundation.NSError error);
// properties
public Foundation.NSError Error { get; set; }
public bool IsReconnecting { get; set; }
public CBPeripheral Peripheral { get; set; }
public double Timestamp { get; set; }
}
Added value:
CompositeAttributeType = 2100,
Added property:
public virtual string VersionChecksum { get; }
Added method:
public static Foundation.NSDictionary<Foundation.NSString,Foundation.NSString> ChecksumsForVersionedModel (Foundation.NSUrl modelUrl, out Foundation.NSError error);
Added methods:
public virtual bool FinishDeferredLightweightMigration (out Foundation.NSError error);
public virtual bool FinishDeferredLightweightMigrationTask (out Foundation.NSError error);
Added properties:
public static Foundation.NSString DeferredLightweightMigrationOptionKey { get; }
public static Foundation.NSString StagedMigrationManagerOptionKey { get; }
public class NSCompositeAttributeDescription : CoreData.NSAttributeDescription {
// constructors
public NSCompositeAttributeDescription ();
public NSCompositeAttributeDescription (Foundation.NSCoder coder);
protected NSCompositeAttributeDescription (Foundation.NSObjectFlag t);
protected NSCompositeAttributeDescription (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NSAttributeDescription[] Elements { get; set; }
}
public class NSCustomMigrationStage : CoreData.NSMigrationStage {
// constructors
protected NSCustomMigrationStage (Foundation.NSObjectFlag t);
protected NSCustomMigrationStage (IntPtr handle);
public NSCustomMigrationStage (NSManagedObjectModelReference currentModel, NSManagedObjectModelReference nextModel);
// properties
public override IntPtr ClassHandle { get; }
public virtual NSManagedObjectModelReference CurrentModel { get; }
public virtual System.Func<NSStagedMigrationManager,CoreData.NSCustomMigrationStage,Foundation.NSError,System.Boolean> DidMigrateHandler { get; set; }
public virtual NSManagedObjectModelReference NextModel { get; }
public virtual System.Func<NSStagedMigrationManager,CoreData.NSCustomMigrationStage,Foundation.NSError,System.Boolean> WillMigrateHandler { get; set; }
}
public class NSLightweightMigrationStage : CoreData.NSMigrationStage {
// constructors
protected NSLightweightMigrationStage (Foundation.NSObjectFlag t);
protected NSLightweightMigrationStage (IntPtr handle);
public NSLightweightMigrationStage (string[] versionChecksums);
// properties
public override IntPtr ClassHandle { get; }
public virtual string[] VersionChecksums { get; }
}
public class NSManagedObjectModelReference : Foundation.NSObject {
// constructors
protected NSManagedObjectModelReference (Foundation.NSObjectFlag t);
protected NSManagedObjectModelReference (IntPtr handle);
public NSManagedObjectModelReference (NSManagedObjectModel model, string versionChecksum);
public NSManagedObjectModelReference (Foundation.NSUrl fileUrl, string versionChecksum);
public NSManagedObjectModelReference (Foundation.NSDictionary versionHash, Foundation.NSBundle bundle, string versionChecksum);
public NSManagedObjectModelReference (string modelName, Foundation.NSBundle bundle, string versionChecksum);
// properties
public override IntPtr ClassHandle { get; }
public virtual NSManagedObjectModel ResolvedModel { get; }
public virtual string VersionChecksum { get; }
}
public class NSMigrationStage : Foundation.NSObject {
// constructors
public NSMigrationStage ();
protected NSMigrationStage (Foundation.NSObjectFlag t);
protected NSMigrationStage (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string Label { get; set; }
}
public class NSStagedMigrationManager : Foundation.NSObject {
// constructors
public NSStagedMigrationManager (NSMigrationStage[] stages);
protected NSStagedMigrationManager (Foundation.NSObjectFlag t);
protected NSStagedMigrationManager (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NSPersistentContainer Container { get; }
public virtual NSMigrationStage[] Stages { get; }
}
Added properties:
public string[] AllModes { get; }
public string CurrentMode { get; }
Added method:
public CFRunLoopExitReason RunInMode (string mode, double seconds, bool returnAfterSourceHandled);
Added method:
public void DrawConicGradient (CGGradient gradient, CGPoint point, nfloat angle);
Added property:
public static Foundation.NSString MemoryLimit { get; }
Added methods:
public virtual Foundation.NSData GetOpenEXRRepresentation (CIImage image, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options, out Foundation.NSError errorPtr);
public virtual bool WriteOpenExrRepresentation (CIImage image, Foundation.NSUrl url, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options, out Foundation.NSError errorPtr);
Added properties:
public static CIBlurredRectangleGenerator BlurredRectangleGeneratorFilter { get; }
public static CICannyEdgeDetector CannyEdgeDetectorFilter { get; }
public static CIRoundedRectangleStrokeGenerator RoundedRectangleStrokeGeneratorFilter { get; }
public static CISobelGradients SobelGradientsFilter { get; }
Added properties:
public static int FormatRgb10 { get; }
public static int FormatRgbX16 { get; }
public static int FormatRgbXf { get; }
public static int FormatRgbXh { get; }
Added methods:
public static nuint GetRoiTileCount (this ICIImageProcessorInput This);
public static nuint GetRoiTileIndex (this ICIImageProcessorInput This);
Added method:
public static CIVector[] GetRoiTileArray (int input, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> arguments, CoreGraphics.CGRect outputRect);
Added property:
public bool Extrapolate { get; set; }
Added property:
public virtual double KernelCompileTime { get; }
public class CIBlurredRectangleGenerator : CoreImage.CIFilter, ICIBlurredRectangleGeneratorProtocol, ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CIBlurredRectangleGenerator ();
public CIBlurredRectangleGenerator (Foundation.NSCoder coder);
protected CIBlurredRectangleGenerator (Foundation.NSObjectFlag t);
protected CIBlurredRectangleGenerator (IntPtr handle);
// properties
public virtual CIColor Color { get; set; }
public virtual CoreGraphics.CGRect InputExtent { get; set; }
public virtual CIImage OutputImage { get; }
public virtual float Sigma { get; set; }
}
public class CICannyEdgeDetector : CoreImage.CIFilter, ICICannyEdgeDetectorProtocol, ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CICannyEdgeDetector ();
public CICannyEdgeDetector (Foundation.NSCoder coder);
protected CICannyEdgeDetector (Foundation.NSObjectFlag t);
protected CICannyEdgeDetector (IntPtr handle);
// properties
public virtual float GaussianSigma { get; set; }
public virtual nint HysteresisPasses { get; set; }
public virtual CIImage InputImage { get; set; }
public virtual CIImage OutputImage { get; }
public virtual bool Perceptual { get; set; }
public virtual float ThresholdHigh { get; set; }
public virtual float ThresholdLow { get; set; }
}
public static class CIPhotoEffectProtocol_Extensions {
// methods
public static bool GetExtrapolate (this ICIPhotoEffectProtocol This);
public static void SetExtrapolate (this ICIPhotoEffectProtocol This, bool value);
}
public class CIRoundedRectangleStrokeGenerator : CoreImage.CIFilter, ICIFilterProtocol, ICIRoundedRectangleStrokeGeneratorProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CIRoundedRectangleStrokeGenerator ();
public CIRoundedRectangleStrokeGenerator (Foundation.NSCoder coder);
protected CIRoundedRectangleStrokeGenerator (Foundation.NSObjectFlag t);
protected CIRoundedRectangleStrokeGenerator (IntPtr handle);
// properties
public virtual CIColor Color { get; set; }
public virtual CoreGraphics.CGRect InputExtent { get; set; }
public virtual CIImage OutputImage { get; }
public virtual float Radius { get; set; }
public virtual float Width { get; set; }
}
public class CISobelGradients : CoreImage.CIFilter, ICIFilterProtocol, ICISobelGradientsProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CISobelGradients ();
public CISobelGradients (Foundation.NSCoder coder);
protected CISobelGradients (Foundation.NSObjectFlag t);
protected CISobelGradients (IntPtr handle);
// properties
public virtual CIImage InputImage { get; set; }
public virtual CIImage OutputImage { get; }
}
public interface ICIBlurredRectangleGeneratorProtocol : ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual CIColor Color { get; set; }
public virtual CoreGraphics.CGRect InputExtent { get; set; }
public virtual float Sigma { get; set; }
}
public interface ICICannyEdgeDetectorProtocol : ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual float GaussianSigma { get; set; }
public virtual nint HysteresisPasses { get; set; }
public virtual CIImage InputImage { get; set; }
public virtual bool Perceptual { get; set; }
public virtual float ThresholdHigh { get; set; }
public virtual float ThresholdLow { get; set; }
}
public interface ICIRoundedRectangleStrokeGeneratorProtocol : ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual CIColor Color { get; set; }
public virtual CoreGraphics.CGRect InputExtent { get; set; }
public virtual float Radius { get; set; }
public virtual float Width { get; set; }
}
public interface ICISobelGradientsProtocol : ICIFilterProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// properties
public virtual CIImage InputImage { get; set; }
}
[Serializable]
public enum CLLiveUpdateConfiguration {
Airborne = 4,
AutomotiveNavigation = 1,
Default = 0,
Fitness = 3,
OtherNavigation = 2,
}
public class CLLocationUpdater : Foundation.NSObject {
// constructors
protected CLLocationUpdater (Foundation.NSObjectFlag t);
protected CLLocationUpdater (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public static CLLocationUpdater CreateLiveUpdates (CoreFoundation.DispatchQueue queue, System.Action<CLUpdate> handler);
public static CLLocationUpdater CreateLiveUpdates (CLLiveUpdateConfiguration configuration, CoreFoundation.DispatchQueue queue, System.Action<CLUpdate> handler);
public virtual void Invalidate ();
public virtual void Pause ();
public virtual void Resume ();
}
[Serializable]
public enum CLMonitoringState {
Satisfied = 1,
Unknown = 0,
Unsatisfied = 2,
}
public class CLUpdate : Foundation.NSObject {
// constructors
public CLUpdate ();
protected CLUpdate (Foundation.NSObjectFlag t);
protected CLUpdate (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool IsStationary { get; }
public virtual CLLocation Location { get; }
}
Added properties:
public static IMLComputeDeviceProtocol[] AllComputeDevices { get; }
public static IMLComputeDeviceProtocol[] AvailableComputeDevices { get; }
Added methods:
public virtual void GetPrediction (IMLFeatureProvider input, System.Action<IMLFeatureProvider,Foundation.NSError> completionHandler);
public virtual void GetPrediction (IMLFeatureProvider input, MLPredictionOptions options, System.Action<IMLFeatureProvider,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<IMLFeatureProvider> GetPredictionAsync (IMLFeatureProvider input);
public virtual System.Threading.Tasks.Task<IMLFeatureProvider> GetPredictionAsync (IMLFeatureProvider input, MLPredictionOptions options);
Added value:
PredictionCancelled = 11,
public interface IMLComputeDeviceProtocol : ObjCRuntime.INativeObject, System.IDisposable {
}
public class MLCpuComputeDevice : Foundation.NSObject, IMLComputeDeviceProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected MLCpuComputeDevice (Foundation.NSObjectFlag t);
protected MLCpuComputeDevice (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class MLGpuComputeDevice : Foundation.NSObject, IMLComputeDeviceProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected MLGpuComputeDevice (Foundation.NSObjectFlag t);
protected MLGpuComputeDevice (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Metal.IMTLDevice MetalDevice { get; }
}
public class MLNeuralEngineComputeDevice : Foundation.NSObject, IMLComputeDeviceProtocol, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected MLNeuralEngineComputeDevice (Foundation.NSObjectFlag t);
protected MLNeuralEngineComputeDevice (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nint TotalCoreCount { get; }
}
Added method:
protected T GetStrongDictionary<T> (NSString key, System.Func<NSDictionary,T> createStrongDictionary);
Obsoleted properties:
[Obsolete ("Use the 'NSFileProtectionType' instead.")]
public static NSString FileProtectionComplete { get; }
[Obsolete ("Use the 'NSFileProtectionType' instead.")]
public static NSString FileProtectionCompleteUnlessOpen { get; }
[Obsolete ("Use the 'NSFileProtectionType' instead.")]
public static NSString FileProtectionCompleteUntilFirstUserAuthentication { get; }
[Obsolete ("Use the 'NSFileProtectionType' instead.")]
public static NSString FileProtectionNone { get; }
Added methods:
public static NSUrl CreateFileUrl (string path);
public static NSUrl CreateFileUrl (string path, bool isDir);
[Serializable]
public enum NSFileProtectionType {
Complete = 0,
CompleteUnlessOpen = 1,
CompleteUntilFirstUserAuthentication = 2,
None = 3,
}
public static class NSFileProtectionTypeExtensions {
// methods
public static NSString GetConstant (this NSFileProtectionType self);
public static NSFileProtectionType GetValue (NSString constant);
}
Added methods:
public static Foundation.NSString[] ToArray (this HMServiceType value);
public static HMServiceType ToFlags (System.Collections.Generic.IEnumerable<Foundation.NSString> constants);
Added property:
public Foundation.NSDictionary AvisDictionary { get; set; }
Added property:
public static Foundation.NSString AvisDictionary { get; }
Added property:
public static Foundation.NSString AvisDictionary { get; }
public class CGImageDecodeOptions {
// constructors
public CGImageDecodeOptions ();
}
Added values:
NoAppIntent = 10001,
UnableToCreateAppIntentRepresentation = 10000,
Added property:
public virtual MKMapConfiguration PreferredConfiguration { get; set; }
Added properties:
public virtual MKFeatureVisibility PitchButtonVisibility { get; set; }
public virtual bool ShowsUserTrackingButton { get; set; }
public class MAFlashingLightsProcessor : Foundation.NSObject {
// constructors
public MAFlashingLightsProcessor ();
protected MAFlashingLightsProcessor (Foundation.NSObjectFlag t);
protected MAFlashingLightsProcessor (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual bool CanProcess (IOSurface.IOSurface surface);
public virtual MAFlashingLightsProcessorResult Process (IOSurface.IOSurface inSurface, IOSurface.IOSurface outSurface, double timestamp, Foundation.NSDictionary options);
}
public class MAFlashingLightsProcessorResult : Foundation.NSObject {
// constructors
public MAFlashingLightsProcessorResult ();
protected MAFlashingLightsProcessorResult (Foundation.NSObjectFlag t);
protected MAFlashingLightsProcessorResult (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual float IntensityLevel { get; }
public virtual float MitigationLevel { get; }
public virtual bool SurfaceProcessed { get; }
}
public class NLContextualEmbedding : Foundation.NSObject {
// constructors
protected NLContextualEmbedding (Foundation.NSObjectFlag t);
protected NLContextualEmbedding (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nuint Dimension { get; }
public virtual bool HasAvailableAssets { get; }
public virtual string[] Languages { get; }
public virtual nuint MaximumSequenceLength { get; }
public virtual string ModelIdentifier { get; }
public virtual nuint Revision { get; }
public virtual string[] Scripts { get; }
// methods
public static NLContextualEmbedding[] Create (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> values);
public static NLContextualEmbedding CreateWithLanguage (string language);
public static NLContextualEmbedding CreateWithModelIdentifier (string modelIdentifier);
public static NLContextualEmbedding CreateWithScript (string script);
public virtual NLContextualEmbeddingResult GetEmbeddingResult (string string, string language, out Foundation.NSError error);
public virtual bool Load (out Foundation.NSError error);
public virtual void RequestAssets (System.Action<NLContextualEmbeddingAssetsResult,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<NLContextualEmbeddingAssetsResult> RequestAssetsAsync ();
public virtual void Unload ();
}
[Serializable]
public enum NLContextualEmbeddingAssetsResult {
Available = 0,
Error = 2,
NotAvailable = 1,
}
public class NLContextualEmbeddingResult : Foundation.NSObject {
// constructors
protected NLContextualEmbeddingResult (Foundation.NSObjectFlag t);
protected NLContextualEmbeddingResult (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string Language { get; }
public virtual nuint SequenceLength { get; }
public virtual string String { get; }
// methods
public virtual void EnumerateTokenVectors (Foundation.NSRange range, TokenVectorEnumeratorHandler enumerationHandler);
public virtual nuint[] GetVector (nuint characterIndex, ref Foundation.NSRange tokenRange);
}
[Serializable]
public enum NLContextualEmebeddingKey {
Languages = 0,
Revision = 2,
Scripts = 1,
}
public static class NLContextualEmebeddingKeyExtensions {
// methods
public static Foundation.NSString GetConstant (this NLContextualEmebeddingKey self);
public static NLContextualEmebeddingKey GetValue (Foundation.NSString constant);
}
[Serializable]
public enum NLScript {
Arabic = 1,
Armenian = 2,
Bengali = 3,
CanadianAboriginalSyllabics = 4,
Cherokee = 5,
Cyrillic = 6,
Devanagari = 7,
Ethiopic = 8,
Georgian = 9,
Greek = 10,
Gujarati = 11,
Gurmukhi = 12,
Hebrew = 13,
Japanese = 14,
Kannada = 15,
Khmer = 16,
Korean = 17,
Lao = 18,
Latin = 19,
Malayalam = 20,
Mongolian = 21,
Myanmar = 22,
Oriya = 23,
SimplifiedChinese = 24,
Sinhala = 25,
Tamil = 26,
Telugu = 27,
Thai = 28,
Tibetan = 29,
TraditionalChinese = 30,
Undetermined = 0,
}
public static class NLScriptExtensions {
// methods
public static Foundation.NSString GetConstant (this NLScript self);
public static NLScript GetValue (Foundation.NSString constant);
}
public sealed delegate TokenVectorEnumeratorHandler : System.MulticastDelegate {
// constructors
public TokenVectorEnumeratorHandler (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (Foundation.NSArray<Foundation.NSNumber> tokenVector, Foundation.NSRange tokenRange, out bool stop, System.AsyncCallback callback, object object);
public virtual void EndInvoke (out bool stop, System.IAsyncResult result);
public virtual void Invoke (Foundation.NSArray<Foundation.NSNumber> tokenVector, Foundation.NSRange tokenRange, out bool stop);
}
Modified fields:
-public const string SdkVersion = "16.4";
+public const string SdkVersion = "17.0";
-public const string Version = "16.4.0";
+public const string Version = "17.0.0";
Added fields:
public static const string CinematicLibrary = "/System/Library/Frameworks/Cinematic.framework/Cinematic";
public static const string NetworkExtensionLibrary = "/System/Library/Frameworks/NetworkExtension.framework/NetworkExtension";
public static const string PhaseLibrary = "/System/Library/Frameworks/PHASE.framework/PHASE";
public static const string SymbolsLibrary = "/System/Library/Frameworks/Symbols.framework/Symbols";
Added value:
PhotoProxy = 19,
Added properties:
public virtual UniformTypeIdentifiers.UTType DefaultRenderedContentType { get; }
public virtual UniformTypeIdentifiers.UTType[] SupportedRenderedContentTypes { get; }
Added method:
public virtual Foundation.NSUrl GetRenderedContentUrl (UniformTypeIdentifiers.UTType type, out Foundation.NSError error);
Added property:
public virtual bool AllowSecondaryDegradedImage { get; set; }
Added interfaces:
Foundation.INSCopying
ObjCRuntime.INativeObject
System.IDisposable
Added method:
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
Added property:
public virtual CoreGraphics.CGRect ContentsRect { get; set; }
Added property:
public virtual CoreGraphics.CGColorSpace WorkingColorSpace { get; }
Added property:
public virtual CoreGraphics.CGColorSpace WorkingColorSpace { get; }
Added method:
public static CoreGraphics.CGColorSpace GetWorkingColorSpace (this ISCNSceneRenderer This);
Added property:
public virtual CoreGraphics.CGColorSpace WorkingColorSpace { get; }
Added values:
EcdsaSignatureDigestRfc4754 = 76,
EcdsaSignatureDigestRfc4754Sha1 = 77,
EcdsaSignatureDigestRfc4754Sha224 = 78,
EcdsaSignatureDigestRfc4754Sha256 = 79,
EcdsaSignatureDigestRfc4754Sha384 = 80,
EcdsaSignatureDigestRfc4754Sha512 = 81,
EcdsaSignatureMessageRfc4754Sha1 = 82,
EcdsaSignatureMessageRfc4754Sha224 = 83,
EcdsaSignatureMessageRfc4754Sha256 = 84,
EcdsaSignatureMessageRfc4754Sha384 = 85,
EcdsaSignatureMessageRfc4754Sha512 = 86,
Added value:
MediaItemFetchFailed = 600,
Added property:
public virtual Foundation.NSDate CreationDate { get; }
Added value:
CreationDate = 16,
Added constructor:
public SKCloudServiceController ();
Added property:
public static UTType Ahap { get; }
public class CNAssetInfo : Foundation.NSObject {
// constructors
protected CNAssetInfo (Foundation.NSObjectFlag t);
protected CNAssetInfo (IntPtr handle);
// properties
public virtual AVFoundation.AVAssetTrack[] AllCinematicTracks { get; }
public virtual AVFoundation.AVAsset Asset { get; }
public virtual AVFoundation.AVAssetTrack CinematicDisparityTrack { get; }
public virtual AVFoundation.AVAssetTrack CinematicMetadataTrack { get; }
public virtual AVFoundation.AVAssetTrack CinematicVideoTrack { get; }
public override IntPtr ClassHandle { get; }
public virtual AVFoundation.AVAssetTrack FrameTimingTrack { get; }
public virtual CoreGraphics.CGSize NaturalSize { get; }
public virtual CoreGraphics.CGSize PreferredSize { get; }
public virtual CoreGraphics.CGAffineTransform PreferredTransform { get; }
public virtual Foundation.NSNumber[] SampleDataTrackIds { get; }
public virtual CoreMedia.CMTimeRange TimeRange { get; }
public virtual Foundation.NSNumber[] VideoCompositionTrackIds { get; }
public virtual AVFoundation.AVAssetTrack[] VideoCompositionTracks { get; }
// methods
public static void CheckIfCinematic (AVFoundation.AVAsset asset, System.Action<bool> completionHandler);
public static System.Threading.Tasks.Task<bool> CheckIfCinematicAsync (AVFoundation.AVAsset asset);
public static void LoadFromAsset (AVFoundation.AVAsset asset, System.Action<CNAssetInfo,Foundation.NSError> completionHandler);
public static System.Threading.Tasks.Task<CNAssetInfo> LoadFromAssetAsync (AVFoundation.AVAsset asset);
}
public class CNBoundsPrediction : Foundation.NSObject, Foundation.INSCopying, Foundation.INSMutableCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public CNBoundsPrediction ();
protected CNBoundsPrediction (Foundation.NSObjectFlag t);
protected CNBoundsPrediction (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual float Confidence { get; set; }
public virtual CoreGraphics.CGRect NormalizedBounds { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual Foundation.NSObject MutableCopy (Foundation.NSZone zone);
}
[Serializable]
public enum CNCinematicErrorCode {
Cancelled = 7,
Incompatible = 6,
Incomplete = 3,
Malformed = 4,
Unknown = 1,
Unreadable = 2,
Unsupported = 5,
}
public static class CNCinematicErrorCodeExtensions {
// methods
public static Foundation.NSString GetDomain (this CNCinematicErrorCode self);
}
public class CNCompositionInfo : Cinematic.CNAssetInfo {
// constructors
public CNCompositionInfo ();
protected CNCompositionInfo (Foundation.NSObjectFlag t);
protected CNCompositionInfo (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual bool InsertTimeRange (CoreMedia.CMTimeRange timeRange, CNAssetInfo assetInfo, CoreMedia.CMTime startTime, out Foundation.NSError outError);
}
public class CNCustomDetectionTrack : Cinematic.CNDetectionTrack {
// constructors
public CNCustomDetectionTrack ();
protected CNCustomDetectionTrack (Foundation.NSObjectFlag t);
protected CNCustomDetectionTrack (IntPtr handle);
public CNCustomDetectionTrack (CNDetection[] detections, bool applySmoothing);
// properties
public virtual CNDetection[] AllDetections { get; }
public override IntPtr ClassHandle { get; }
}
public class CNDecision : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected CNDecision (Foundation.NSObjectFlag t);
protected CNDecision (IntPtr handle);
public CNDecision (CoreMedia.CMTime time, long detectionId, bool isStrong, CNDecisionIdentifierType identifierType);
// properties
public override IntPtr ClassHandle { get; }
public virtual long DetectionGroupId { get; }
public virtual long DetectionId { get; }
public virtual bool GroupDecision { get; }
public virtual bool StrongDecision { get; }
public virtual CoreMedia.CMTime Time { get; }
public virtual bool UserDecision { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
[Serializable]
public enum CNDecisionIdentifierType {
Group = 1,
Single = 0,
}
public class CNDetection : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected CNDetection (Foundation.NSObjectFlag t);
protected CNDetection (IntPtr handle);
public CNDetection (CoreMedia.CMTime time, CNDetectionType detectionType, CoreGraphics.CGRect normalizedRect, float focusDisparity);
// properties
public override IntPtr ClassHandle { get; }
public virtual long DetectionGroupId { get; }
public virtual long DetectionId { get; }
public virtual CNDetectionType DetectionType { get; }
public virtual float FocusDisparity { get; }
public virtual CoreGraphics.CGRect NormalizedRect { get; }
public virtual CoreMedia.CMTime Time { get; }
// methods
public static string AccessibilityLabelForDetectionType (CNDetectionType detectionType);
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static float DisparityInNormalizedRect (CoreGraphics.CGRect normalizedRect, CoreVideo.CVPixelBuffer sourceDisparity, CNDetectionType detectionType, float priorDisparity);
public static bool IsValidDetectionGroupId (long detectionGroupId);
public static bool IsValidDetectionId (long detectionId);
}
public class CNDetectionTrack : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected CNDetectionTrack (Foundation.NSObjectFlag t);
protected CNDetectionTrack (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual long DetectionGroupId { get; }
public virtual long DetectionId { get; }
public virtual CNDetectionType DetectionType { get; }
public virtual bool Discrete { get; }
public virtual bool UserCreated { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual CNDetection GetDetectionAtOrBeforeTime (CoreMedia.CMTime time);
public virtual CNDetection GetDetectionNearestTime (CoreMedia.CMTime time);
public virtual CNDetection[] GetDetectionsInTimeRange (CoreMedia.CMTimeRange timeRange);
}
[Serializable]
public enum CNDetectionType {
AutoFocus = 100,
CatBody = 4,
CatHead = 9,
Custom = 102,
DogBody = 5,
DogHead = 10,
FixedFocus = 101,
HumanFace = 1,
HumanHead = 2,
HumanTorso = 3,
SportsBall = 11,
Unknown = 0,
}
public class CNFixedDetectionTrack : Cinematic.CNDetectionTrack {
// constructors
public CNFixedDetectionTrack ();
public CNFixedDetectionTrack (CNDetection originalDetection);
protected CNFixedDetectionTrack (Foundation.NSObjectFlag t);
protected CNFixedDetectionTrack (IntPtr handle);
public CNFixedDetectionTrack (float focusDisparity);
// properties
public override IntPtr ClassHandle { get; }
public virtual float FocusDisparity { get; }
public virtual CNDetection OriginalDetection { get; }
}
public class CNObjectTracker : Foundation.NSObject {
// constructors
protected CNObjectTracker (Foundation.NSObjectFlag t);
public CNObjectTracker (Metal.IMTLCommandQueue commandQueue);
protected CNObjectTracker (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual CNDetectionTrack FinishDetectionTrack { get; }
public static bool IsSupported { get; }
// methods
public virtual CNBoundsPrediction ContinueTracking (CoreMedia.CMTime atTime, CoreVideo.CVPixelBuffer sourceImage, CoreVideo.CVPixelBuffer sourceDisparity);
public virtual CNBoundsPrediction FindObject (CoreGraphics.CGPoint point, CoreVideo.CVPixelBuffer sourceImage);
public virtual void ResetDetectionTrack ();
public virtual bool StartTracking (CoreMedia.CMTime atTime, CoreGraphics.CGRect normalizedBounds, CoreVideo.CVPixelBuffer sourceImage, CoreVideo.CVPixelBuffer sourceDisparity);
}
[Serializable]
public enum CNRenderingQuality {
Export = 2,
ExportHigh = 3,
Preview = 1,
Thumbnail = 0,
}
public class CNRenderingSession : Foundation.NSObject {
// constructors
protected CNRenderingSession (Foundation.NSObjectFlag t);
protected CNRenderingSession (IntPtr handle);
public CNRenderingSession (Metal.IMTLCommandQueue commandQueue, CNRenderingSessionAttributes sessionAttributes, CoreGraphics.CGAffineTransform preferredTransform, CNRenderingQuality quality);
// properties
public override IntPtr ClassHandle { get; }
public virtual Metal.IMTLCommandQueue CommandQueue { get; }
public static Foundation.NSNumber[] DestinationPixelFormatTypes { get; }
public virtual CoreGraphics.CGAffineTransform PreferredTransform { get; }
public virtual CNRenderingQuality Quality { get; }
public virtual CNRenderingSessionAttributes SessionAttributes { get; }
public static Foundation.NSNumber[] SourcePixelFormatTypes { get; }
// methods
public virtual bool EncodeRender (Metal.IMTLCommandBuffer commandBuffer, CNRenderingSessionFrameAttributes frameAttributes, CoreVideo.CVPixelBuffer sourceImage, CoreVideo.CVPixelBuffer sourceDisparity, CoreVideo.CVPixelBuffer destinationImage);
public virtual bool EncodeRender (Metal.IMTLCommandBuffer commandBuffer, CNRenderingSessionFrameAttributes frameAttributes, CoreVideo.CVPixelBuffer sourceImage, CoreVideo.CVPixelBuffer sourceDisparity, Metal.IMTLTexture destinationRgba);
public virtual bool EncodeRender (Metal.IMTLCommandBuffer commandBuffer, CNRenderingSessionFrameAttributes frameAttributes, CoreVideo.CVPixelBuffer sourceImage, CoreVideo.CVPixelBuffer sourceDisparity, Metal.IMTLTexture destinationLuma, Metal.IMTLTexture destinationChroma);
}
public class CNRenderingSessionAttributes : Foundation.NSObject {
// constructors
protected CNRenderingSessionAttributes (Foundation.NSObjectFlag t);
protected CNRenderingSessionAttributes (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nint RenderingVersion { get; }
// methods
public static void Load (AVFoundation.AVAsset asset, System.Action<CNRenderingSessionAttributes,Foundation.NSError> completionHandler);
public static System.Threading.Tasks.Task<CNRenderingSessionAttributes> LoadAsync (AVFoundation.AVAsset asset);
}
public class CNRenderingSessionFrameAttributes : Foundation.NSObject, Foundation.INSCopying, Foundation.INSMutableCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected CNRenderingSessionFrameAttributes (Foundation.NSObjectFlag t);
protected CNRenderingSessionFrameAttributes (IntPtr handle);
public CNRenderingSessionFrameAttributes (AVFoundation.AVTimedMetadataGroup metadataGroup, CNRenderingSessionAttributes sessionAttributes);
public CNRenderingSessionFrameAttributes (CoreMedia.CMSampleBuffer sampleBuffer, CNRenderingSessionAttributes sessionAttributes);
// properties
public override IntPtr ClassHandle { get; }
public virtual float FNumber { get; set; }
public virtual float FocusDisparity { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual Foundation.NSObject MutableCopy (Foundation.NSZone zone);
}
public class CNScript : Foundation.NSObject {
// constructors
protected CNScript (Foundation.NSObjectFlag t);
protected CNScript (IntPtr handle);
// properties
public virtual CNDetectionTrack[] AddedDetectionTracks { get; }
public virtual CNScriptChanges Changes { get; }
public override IntPtr ClassHandle { get; }
public virtual float FNumber { get; set; }
public virtual CoreMedia.CMTimeRange TimeRange { get; }
// methods
public virtual long AddDetectionTrack (CNDetectionTrack detectionTrack);
public virtual bool AddUserDecision (CNDecision decision);
public virtual CNDecision[] GetBaseDecisions (CoreMedia.CMTimeRange timeRange);
public virtual CNScriptChanges GetChangesTrimmed (CoreMedia.CMTimeRange timeRange);
public virtual CNDecision GetDecision (CoreMedia.CMTime time, CoreMedia.CMTime tolerance);
public virtual CNDecision GetDecisionAfterTime (CoreMedia.CMTime time);
public virtual CNDecision GetDecisionBeforeTime (CoreMedia.CMTime time);
public virtual CNDecision[] GetDecisions (CoreMedia.CMTimeRange timeRange);
public virtual CNDetectionTrack GetDetectionTrack (CNDecision decision);
public virtual CNDetectionTrack GetDetectionTrackForId (long detectionId);
public virtual CNScriptFrame GetFrame (CoreMedia.CMTime time, CoreMedia.CMTime tolerance);
public virtual CNScriptFrame[] GetFrames (CoreMedia.CMTimeRange timeRange);
public virtual CNDecision GetPrimaryDecision (CoreMedia.CMTime time);
public virtual CNDecision GetSecondaryDecision (CoreMedia.CMTime time);
public virtual CoreMedia.CMTimeRange GetTimeRangeOfTransitionAfterDecision (CNDecision decision);
public virtual CoreMedia.CMTimeRange GetTimeRangeOfTransitionBeforeDecision (CNDecision decision);
public virtual CNDecision[] GetUserDecisions (CoreMedia.CMTimeRange timeRange);
public static void Load (AVFoundation.AVAsset asset, CNScriptChanges changes, Foundation.NSProgress progress, System.Action<CNScript,Foundation.NSError> completionHandler);
public static System.Threading.Tasks.Task<CNScript> LoadAsync (AVFoundation.AVAsset asset, CNScriptChanges changes, Foundation.NSProgress progress);
public virtual void Reload (CNScriptChanges changes);
public virtual void RemoveAllUserDecisions ();
public virtual bool RemoveDetectionTrack (CNDetectionTrack detectionTrack);
public virtual bool RemoveUserDecision (CNDecision decision);
}
public class CNScriptChanges : Foundation.NSObject {
// constructors
public CNScriptChanges (Foundation.NSData dataRepresentation);
protected CNScriptChanges (Foundation.NSObjectFlag t);
protected CNScriptChanges (IntPtr handle);
// properties
public virtual CNDetectionTrack[] AddedDetectionTracks { get; }
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSData DataRepresentation { get; }
public virtual float FNumber { get; }
public virtual CNDecision[] UserDecisions { get; }
}
public class CNScriptFrame : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected CNScriptFrame (Foundation.NSObjectFlag t);
protected CNScriptFrame (IntPtr handle);
// properties
public virtual CNDetection[] AllDetections { get; }
public override IntPtr ClassHandle { get; }
public virtual CNDetection FocusDetection { get; }
public virtual float FocusDisparity { get; }
public virtual CoreMedia.CMTime Time { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual CNDetection GetBestDetectionForGroupId (long detectionGroupId);
public virtual CNDetection GetDetectionForId (long detectionId);
}
public interface INWTcpConnectionAuthenticationDelegate : ObjCRuntime.INativeObject, System.IDisposable {
}
[Serializable]
public enum NEAppProxyFlowError {
Aborted = 5,
DatagramTooLarge = 9,
HostUnreachable = 3,
Internal = 8,
InvalidArgument = 4,
None = 0,
NotConnected = 1,
PeerReset = 2,
ReadAlreadyPending = 10,
Refused = 6,
TimedOut = 7,
}
public static class NEAppProxyFlowErrorExtensions {
// methods
public static Foundation.NSString GetDomain (this NEAppProxyFlowError self);
}
public class NEDnsOverHttpsSettings : NetworkExtension.NEDnsSettings {
// constructors
public NEDnsOverHttpsSettings ();
public NEDnsOverHttpsSettings (Foundation.NSCoder coder);
protected NEDnsOverHttpsSettings (Foundation.NSObjectFlag t);
protected NEDnsOverHttpsSettings (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSData IdentityReference { get; set; }
public virtual Foundation.NSUrl ServerUrl { get; set; }
}
public class NEDnsOverTlsSettings : NetworkExtension.NEDnsSettings {
// constructors
public NEDnsOverTlsSettings ();
public NEDnsOverTlsSettings (Foundation.NSCoder coder);
protected NEDnsOverTlsSettings (Foundation.NSObjectFlag t);
protected NEDnsOverTlsSettings (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSData IdentityReference { get; set; }
public virtual string ServerName { get; set; }
}
[Serializable]
public enum NEDnsProtocol {
Cleartext = 1,
Https = 3,
Tls = 2,
}
public class NEDnsSettings : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NEDnsSettings (Foundation.NSCoder coder);
protected NEDnsSettings (Foundation.NSObjectFlag t);
protected NEDnsSettings (IntPtr handle);
public NEDnsSettings (string[] servers);
// properties
public override IntPtr ClassHandle { get; }
public virtual NEDnsProtocol DnsProtocol { get; }
public virtual string DomainName { get; set; }
public virtual string[] MatchDomains { get; set; }
public virtual bool MatchDomainsNoSearch { get; set; }
public virtual string[] SearchDomains { get; set; }
public virtual string[] Servers { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class NEEvaluateConnectionRule : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NEEvaluateConnectionRule ();
public NEEvaluateConnectionRule (Foundation.NSCoder coder);
protected NEEvaluateConnectionRule (Foundation.NSObjectFlag t);
protected NEEvaluateConnectionRule (IntPtr handle);
public NEEvaluateConnectionRule (string[] domains, NEEvaluateConnectionRuleAction action);
// properties
public virtual NEEvaluateConnectionRuleAction Action { get; }
public override IntPtr ClassHandle { get; }
public virtual string[] MatchDomains { get; }
public virtual Foundation.NSUrl ProbeUrl { get; set; }
public virtual string[] UseDnsServers { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum NEEvaluateConnectionRuleAction {
ConnectIfNeeded = 1,
NeverConnect = 2,
}
public class NEFilterFlow {
// constructors
public NEFilterFlow ();
// fields
public static const ulong MaxBytes;
}
public class NEFilterProvider {
// constructors
public NEFilterProvider ();
// properties
public static Foundation.NSString RemediationUrlFlowUrl { get; }
public static Foundation.NSString RemediationUrlFlowUrlHostname { get; }
public static Foundation.NSString RemediationUrlOrganization { get; }
public static Foundation.NSString RemediationUrlUsername { get; }
}
public class NEIPv4Route : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NEIPv4Route (Foundation.NSCoder coder);
protected NEIPv4Route (Foundation.NSObjectFlag t);
protected NEIPv4Route (IntPtr handle);
public NEIPv4Route (string address, string subnetMask);
// properties
public override IntPtr ClassHandle { get; }
public static NEIPv4Route DefaultRoute { get; }
public virtual string DestinationAddress { get; }
public virtual string DestinationSubnetMask { get; }
public virtual string GatewayAddress { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class NEIPv4Settings : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NEIPv4Settings (Foundation.NSCoder coder);
protected NEIPv4Settings (Foundation.NSObjectFlag t);
protected NEIPv4Settings (IntPtr handle);
public NEIPv4Settings (string[] addresses, string[] subnetMasks);
// properties
public virtual string[] Addresses { get; }
public override IntPtr ClassHandle { get; }
public virtual NEIPv4Route[] ExcludedRoutes { get; set; }
public virtual NEIPv4Route[] IncludedRoutes { get; set; }
public virtual string[] SubnetMasks { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class NEIPv6Route : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NEIPv6Route (Foundation.NSCoder coder);
protected NEIPv6Route (Foundation.NSObjectFlag t);
protected NEIPv6Route (IntPtr handle);
public NEIPv6Route (string address, Foundation.NSNumber networkPrefixLength);
// properties
public override IntPtr ClassHandle { get; }
public static NEIPv6Route DefaultRoute { get; }
public virtual string DestinationAddress { get; }
public virtual Foundation.NSNumber DestinationNetworkPrefixLength { get; }
public virtual string GatewayAddress { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class NEIPv6Settings : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NEIPv6Settings (Foundation.NSCoder coder);
protected NEIPv6Settings (Foundation.NSObjectFlag t);
protected NEIPv6Settings (IntPtr handle);
public NEIPv6Settings (string[] addresses, Foundation.NSNumber[] networkPrefixLengths);
// properties
public virtual string[] Addresses { get; }
public override IntPtr ClassHandle { get; }
public virtual NEIPv6Route[] ExcludedRoutes { get; set; }
public virtual NEIPv6Route[] IncludedRoutes { get; set; }
public virtual Foundation.NSNumber[] NetworkPrefixLengths { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public abstract class NEOnDemandRule : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected NEOnDemandRule ();
protected NEOnDemandRule (Foundation.NSCoder coder);
protected NEOnDemandRule (Foundation.NSObjectFlag t);
protected NEOnDemandRule (IntPtr handle);
// properties
public virtual NEOnDemandRuleAction Action { get; }
public override IntPtr ClassHandle { get; }
public virtual string[] DnsSearchDomainMatch { get; set; }
public virtual string[] DnsServerAddressMatch { get; set; }
public virtual NEOnDemandRuleInterfaceType InterfaceTypeMatch { get; set; }
public virtual Foundation.NSUrl ProbeUrl { get; set; }
public virtual string[] SsidMatch { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum NEOnDemandRuleAction {
Connect = 1,
Disconnect = 2,
EvaluateConnection = 3,
Ignore = 4,
}
public class NEOnDemandRuleConnect : NetworkExtension.NEOnDemandRule {
// constructors
public NEOnDemandRuleConnect ();
public NEOnDemandRuleConnect (Foundation.NSCoder coder);
protected NEOnDemandRuleConnect (Foundation.NSObjectFlag t);
protected NEOnDemandRuleConnect (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class NEOnDemandRuleDisconnect : NetworkExtension.NEOnDemandRule {
// constructors
public NEOnDemandRuleDisconnect ();
public NEOnDemandRuleDisconnect (Foundation.NSCoder coder);
protected NEOnDemandRuleDisconnect (Foundation.NSObjectFlag t);
protected NEOnDemandRuleDisconnect (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class NEOnDemandRuleEvaluateConnection : NetworkExtension.NEOnDemandRule {
// constructors
public NEOnDemandRuleEvaluateConnection ();
public NEOnDemandRuleEvaluateConnection (Foundation.NSCoder coder);
protected NEOnDemandRuleEvaluateConnection (Foundation.NSObjectFlag t);
protected NEOnDemandRuleEvaluateConnection (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NEEvaluateConnectionRule[] ConnectionRules { get; set; }
}
public class NEOnDemandRuleIgnore : NetworkExtension.NEOnDemandRule {
// constructors
public NEOnDemandRuleIgnore ();
public NEOnDemandRuleIgnore (Foundation.NSCoder coder);
protected NEOnDemandRuleIgnore (Foundation.NSObjectFlag t);
protected NEOnDemandRuleIgnore (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
[Serializable]
public enum NEOnDemandRuleInterfaceType {
Any = 0,
Cellular = 3,
Ethernet = 1,
WiFi = 2,
}
public class NEPacket : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NEPacket ();
public NEPacket (Foundation.NSCoder coder);
protected NEPacket (Foundation.NSObjectFlag t);
protected NEPacket (IntPtr handle);
public NEPacket (Foundation.NSData data, byte protocolFamily);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSData Data { get; }
public virtual byte ProtocolFamily { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class NEPacketTunnelFlow : Foundation.NSObject {
// constructors
public NEPacketTunnelFlow ();
protected NEPacketTunnelFlow (Foundation.NSObjectFlag t);
protected NEPacketTunnelFlow (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void ReadPacketObjects (System.Action<NEPacket[]> completionHandler);
public virtual System.Threading.Tasks.Task<NEPacket[]> ReadPacketObjectsAsync ();
public virtual void ReadPackets (System.Action<Foundation.NSData[],Foundation.NSNumber[]> completionHandler);
public virtual System.Threading.Tasks.Task<NEPacketTunnelFlowReadResult> ReadPacketsAsync ();
public virtual bool WritePacketObjects (NEPacket[] packets);
public virtual bool WritePackets (Foundation.NSData[] packets, Foundation.NSNumber[] protocols);
}
public class NEPacketTunnelFlowReadResult {
// constructors
public NEPacketTunnelFlowReadResult (Foundation.NSData[] packets, Foundation.NSNumber[] protocols);
// properties
public Foundation.NSData[] Packets { get; set; }
public Foundation.NSNumber[] Protocols { get; set; }
}
public class NEPacketTunnelNetworkSettings : NetworkExtension.NETunnelNetworkSettings {
// constructors
[Obsolete ("This constructor does not create a valid instance of the type.")]
public NEPacketTunnelNetworkSettings ();
public NEPacketTunnelNetworkSettings (Foundation.NSCoder coder);
protected NEPacketTunnelNetworkSettings (Foundation.NSObjectFlag t);
protected NEPacketTunnelNetworkSettings (IntPtr handle);
public NEPacketTunnelNetworkSettings (string address);
// properties
public override IntPtr ClassHandle { get; }
public virtual NEIPv4Settings IPv4Settings { get; set; }
public virtual NEIPv6Settings IPv6Settings { get; set; }
public virtual Foundation.NSNumber Mtu { get; set; }
public virtual Foundation.NSNumber TunnelOverheadBytes { get; set; }
}
public class NEPacketTunnelProvider : NetworkExtension.NETunnelProvider {
// constructors
public NEPacketTunnelProvider ();
protected NEPacketTunnelProvider (Foundation.NSObjectFlag t);
protected NEPacketTunnelProvider (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NEPacketTunnelFlow PacketFlow { get; }
// methods
public virtual void CancelTunnel (Foundation.NSError error);
public virtual NWTcpConnection CreateTcpConnection (NWEndpoint remoteEndpoint, bool enableTls, NWTlsParameters tlsParameters, INWTcpConnectionAuthenticationDelegate delegate);
[Obsolete ("Use the overload accepting a 'INWTcpConnectionAuthenticationDelegate' argument.")]
public virtual NWTcpConnection CreateTcpConnection (NWEndpoint remoteEndpoint, bool enableTls, NWTlsParameters tlsParameters, NWTcpConnectionAuthenticationDelegate delegate);
public virtual NWUdpSession CreateUdpSession (NWEndpoint remoteEndpoint, NWHostEndpoint localEndpoint);
public virtual void StartTunnel (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options, System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task StartTunnelAsync (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options);
public virtual void StopTunnel (NEProviderStopReason reason, System.Action completionHandler);
public virtual System.Threading.Tasks.Task StopTunnelAsync (NEProviderStopReason reason);
}
public class NEProvider : Foundation.NSObject {
// constructors
protected NEProvider (Foundation.NSObjectFlag t);
protected NEProvider (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NWPath DefaultPath { get; }
// methods
public virtual NWTcpConnection CreateTcpConnectionToEndpoint (NWEndpoint remoteEndpoint, bool enableTLS, NWTlsParameters TLSParameters, Foundation.NSObject connectionDelegate);
public virtual NWUdpSession CreateUdpSessionToEndpoint (NWEndpoint remoteEndpoint, NWHostEndpoint localEndpoint);
public virtual void Sleep (System.Action completionHandler);
public virtual System.Threading.Tasks.Task SleepAsync ();
public static void StartSystemExtensionMode ();
public virtual void Wake ();
}
[Serializable]
public enum NEProviderStopReason {
AppUpdate = 16,
AuthenticationCanceled = 6,
ConfigurationDisabled = 9,
ConfigurationFailed = 7,
ConfigurationRemoved = 10,
ConnectionFailed = 14,
IdleTimeout = 8,
NoNetworkAvailable = 3,
None = 0,
ProviderDisabled = 5,
ProviderFailed = 2,
Sleep = 15,
Superseded = 11,
UnrecoverableNetworkChange = 4,
UserInitiated = 1,
UserLogout = 12,
UserSwitch = 13,
}
public class NEProxyServer : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NEProxyServer (Foundation.NSCoder coder);
protected NEProxyServer (Foundation.NSObjectFlag t);
protected NEProxyServer (IntPtr handle);
public NEProxyServer (string address, nint port);
// properties
public virtual string Address { get; }
public virtual bool AuthenticationRequired { get; set; }
public override IntPtr ClassHandle { get; }
public virtual string Password { get; set; }
public virtual nint Port { get; }
public virtual string Username { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class NEProxySettings : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NEProxySettings ();
public NEProxySettings (Foundation.NSCoder coder);
protected NEProxySettings (Foundation.NSObjectFlag t);
protected NEProxySettings (IntPtr handle);
// properties
public virtual bool AutoProxyConfigurationEnabled { get; set; }
public override IntPtr ClassHandle { get; }
public virtual string[] ExceptionList { get; set; }
public virtual bool ExcludeSimpleHostnames { get; set; }
public virtual bool HttpEnabled { get; set; }
public virtual NEProxyServer HttpServer { get; set; }
public virtual bool HttpsEnabled { get; set; }
public virtual NEProxyServer HttpsServer { get; set; }
public virtual string[] MatchDomains { get; set; }
public virtual string ProxyAutoConfigurationJavaScript { get; set; }
public virtual Foundation.NSUrl ProxyAutoConfigurationUrl { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class NERelay : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NERelay ();
public NERelay (Foundation.NSCoder coder);
protected NERelay (Foundation.NSObjectFlag t);
protected NERelay (IntPtr handle);
// properties
public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSString> AdditionalHttpHeaderFields { get; set; }
public override IntPtr ClassHandle { get; }
public static Foundation.NSString ConfigurationDidChangeNotification { get; }
public virtual Foundation.NSUrl DnsOverHttpsUrl { get; set; }
public static Foundation.NSString ErrorDomain { get; }
public virtual Foundation.NSUrl Http2RelayUrl { get; set; }
public virtual Foundation.NSUrl Http3RelayUrl { get; set; }
public virtual Foundation.NSData IdentityData { get; set; }
public virtual string IdentityDataPassword { get; set; }
public virtual Foundation.NSData[] RawPublicKeys { get; set; }
public virtual string SyntheticDnsAnswerIPv4Prefix { get; set; }
public virtual string SyntheticDnsAnswerIPv6Prefix { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
// inner types
public static class Notifications {
// methods
public static Foundation.NSObject ObserveConfigurationDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveConfigurationDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
}
}
public class NERelayManager : Foundation.NSObject {
// constructors
public NERelayManager ();
protected NERelayManager (Foundation.NSObjectFlag t);
protected NERelayManager (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool Enabled { get; set; }
public virtual string[] ExcludedDomains { get; set; }
public virtual string LocalizedDescription { get; set; }
public virtual string[] MatchDomains { get; set; }
public virtual NEOnDemandRule[] OnDemandRules { get; set; }
public virtual NERelay[] Relays { get; set; }
public static NERelayManager Shared { get; }
// methods
public static void LoadAllManagersFromPreferences (System.Action<Foundation.NSArray<NERelayManager>> completionHandler);
public static System.Threading.Tasks.Task<Foundation.NSArray<NERelayManager>> LoadAllManagersFromPreferencesAsync ();
public virtual void LoadFromPreferences (System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task LoadFromPreferencesAsync ();
public virtual void RemoveFromPreferences (System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task RemoveFromPreferencesAsync ();
public virtual void SaveToPreferences (System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task SaveToPreferencesAsync ();
}
[Serializable]
public enum NERelayManagerError {
CannotBeRemoved = 4,
Disabled = 2,
Invalid = 1,
Stale = 3,
}
public class NETunnelNetworkSettings : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NETunnelNetworkSettings (Foundation.NSCoder coder);
protected NETunnelNetworkSettings (Foundation.NSObjectFlag t);
protected NETunnelNetworkSettings (IntPtr handle);
public NETunnelNetworkSettings (string address);
// properties
public override IntPtr ClassHandle { get; }
public virtual NEDnsSettings DnsSettings { get; set; }
public virtual NEProxySettings ProxySettings { get; set; }
public virtual string TunnelRemoteAddress { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class NETunnelProvider : NetworkExtension.NEProvider {
// constructors
protected NETunnelProvider (Foundation.NSObjectFlag t);
protected NETunnelProvider (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NEVpnProtocol ProtocolConfiguration { get; }
public virtual bool Reasserting { get; set; }
// methods
public virtual void HandleAppMessage (Foundation.NSData messageData, System.Action<Foundation.NSData> completionHandler);
public virtual System.Threading.Tasks.Task<Foundation.NSData> HandleAppMessageAsync (Foundation.NSData messageData);
public virtual void SetTunnelNetworkSettings (NETunnelNetworkSettings tunnelNetworkSettings, System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task SetTunnelNetworkSettingsAsync (NETunnelNetworkSettings tunnelNetworkSettings);
}
[Serializable]
public enum NETunnelProviderError {
Canceled = 2,
Failed = 3,
Invalid = 1,
None = 0,
}
public static class NETunnelProviderErrorExtensions {
// methods
public static Foundation.NSString GetDomain (this NETunnelProviderError self);
}
public class NETunnelProviderManager : NetworkExtension.NEVpnManager {
// constructors
public NETunnelProviderManager ();
protected NETunnelProviderManager (Foundation.NSObjectFlag t);
protected NETunnelProviderManager (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public static Foundation.NSString ErrorDomain { get; }
// methods
public static void LoadAllFromPreferences (System.Action<Foundation.NSArray,Foundation.NSError> completionHandler);
public static System.Threading.Tasks.Task<Foundation.NSArray> LoadAllFromPreferencesAsync ();
}
public class NETunnelProviderProtocol : NetworkExtension.NEVpnProtocol {
// constructors
public NETunnelProviderProtocol ();
public NETunnelProviderProtocol (Foundation.NSCoder coder);
protected NETunnelProviderProtocol (Foundation.NSObjectFlag t);
protected NETunnelProviderProtocol (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string ProviderBundleIdentifier { get; set; }
public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> ProviderConfiguration { get; set; }
}
public class NETunnelProviderSession : NetworkExtension.NEVpnConnection {
// constructors
public NETunnelProviderSession ();
protected NETunnelProviderSession (Foundation.NSObjectFlag t);
protected NETunnelProviderSession (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual bool SendProviderMessage (Foundation.NSData messageData, out Foundation.NSError error, System.Action<Foundation.NSData> responseHandler);
public virtual bool StartTunnel (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options, out Foundation.NSError error);
public virtual void StopTunnel ();
}
public class NEVpnConnection : Foundation.NSObject {
// constructors
public NEVpnConnection ();
protected NEVpnConnection (Foundation.NSObjectFlag t);
protected NEVpnConnection (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSDate ConnectedDate { get; }
public virtual NEVpnManager Manager { get; }
public virtual NEVpnStatus Status { get; }
public static Foundation.NSString StatusDidChangeNotification { get; }
// methods
public virtual void FetchLastDisconnectError (System.Action<Foundation.NSError> handler);
public virtual System.Threading.Tasks.Task FetchLastDisconnectErrorAsync ();
public virtual bool StartVpnTunnel (out Foundation.NSError error);
public bool StartVpnTunnel (NEVpnConnectionStartOptions options, out Foundation.NSError error);
public virtual void StopVpnTunnel ();
// inner types
public static class Notifications {
// methods
public static Foundation.NSObject ObserveStatusDidChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveStatusDidChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
}
}
[Serializable]
public enum NEVpnConnectionError {
AuthenticationFailed = 8,
ClientCertificateExpired = 11,
ClientCertificateInvalid = 9,
ClientCertificateNotYetValid = 10,
ConfigurationFailed = 4,
ConfigurationNotFound = 13,
NegotiationFailed = 15,
NoNetworkAvailable = 2,
Overslept = 1,
PluginDisabled = 14,
PluginFailed = 12,
ServerAddressResolutionFailed = 5,
ServerCertificateExpired = 19,
ServerCertificateInvalid = 17,
ServerCertificateNotYetValid = 18,
ServerDead = 7,
ServerDisconnected = 16,
ServerNotResponding = 6,
UnrecoverableNetworkChange = 3,
}
public static class NEVpnConnectionErrorExtensions {
// methods
public static Foundation.NSString GetDomain (this NEVpnConnectionError self);
}
public class NEVpnConnectionStartOptions : Foundation.DictionaryContainer {
// constructors
public NEVpnConnectionStartOptions ();
public NEVpnConnectionStartOptions (Foundation.NSDictionary dictionary);
// properties
public Foundation.NSString Password { get; set; }
public Foundation.NSString Username { get; set; }
}
[Serializable]
public enum NEVpnError {
ConfigurationDisabled = 2,
ConfigurationInvalid = 1,
ConfigurationReadWriteFailed = 5,
ConfigurationStale = 4,
ConfigurationUnknown = 6,
ConnectionFailed = 3,
}
public static class NEVpnErrorExtensions {
// methods
public static Foundation.NSString GetDomain (this NEVpnError self);
}
[Serializable]
public enum NEVpnIke2CertificateType {
ECDSA256 = 2,
ECDSA384 = 3,
ECDSA521 = 4,
Ed25519 = 5,
RSA = 1,
Rsapss = 6,
}
[Serializable]
public enum NEVpnIke2DeadPeerDetectionRate {
High = 3,
Low = 1,
Medium = 2,
None = 0,
}
[Serializable]
public enum NEVpnIke2DiffieHellman {
Group0 = 0,
Group1 = 1,
Group14 = 14,
Group15 = 15,
Group16 = 16,
Group17 = 17,
Group18 = 18,
Group19 = 19,
Group2 = 2,
Group20 = 20,
Group21 = 21,
Group31 = 31,
Group32 = 32,
Group5 = 5,
Invalid = 0,
}
[Serializable]
public enum NEVpnIke2EncryptionAlgorithm {
AES128 = 3,
AES128GCM = 5,
AES256 = 4,
AES256GCM = 6,
ChaCha20Poly1305 = 7,
DES = 1,
TripleDES = 2,
}
[Serializable]
public enum NEVpnIke2IntegrityAlgorithm {
SHA160 = 2,
SHA256 = 3,
SHA384 = 4,
SHA512 = 5,
SHA96 = 1,
}
public class NEVpnIke2SecurityAssociationParameters : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NEVpnIke2SecurityAssociationParameters ();
public NEVpnIke2SecurityAssociationParameters (Foundation.NSCoder coder);
protected NEVpnIke2SecurityAssociationParameters (Foundation.NSObjectFlag t);
protected NEVpnIke2SecurityAssociationParameters (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NEVpnIke2DiffieHellman DiffieHellmanGroup { get; set; }
public virtual NEVpnIke2EncryptionAlgorithm EncryptionAlgorithm { get; set; }
public virtual NEVpnIke2IntegrityAlgorithm IntegrityAlgorithm { get; set; }
public virtual int LifetimeMinutes { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum NEVpnIkeAuthenticationMethod {
Certificate = 1,
None = 0,
SharedSecret = 2,
}
[Serializable]
public enum NEVpnIkev2TlsVersion {
Default = 0,
Tls1_0 = 1,
Tls1_1 = 2,
Tls1_2 = 3,
}
public class NEVpnManager : Foundation.NSObject {
// constructors
protected NEVpnManager (Foundation.NSObjectFlag t);
protected NEVpnManager (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public static Foundation.NSString ConfigurationChangeNotification { get; }
public virtual NEVpnConnection Connection { get; }
public virtual bool Enabled { get; set; }
public static Foundation.NSString ErrorDomain { get; }
public virtual string LocalizedDescription { get; set; }
public virtual bool OnDemandEnabled { get; set; }
public virtual NEOnDemandRule[] OnDemandRules { get; set; }
public virtual NEVpnProtocol ProtocolConfiguration { get; set; }
public static NEVpnManager SharedManager { get; }
// methods
public virtual void LoadFromPreferences (System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task LoadFromPreferencesAsync ();
public virtual void RemoveFromPreferences (System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task RemoveFromPreferencesAsync ();
public virtual void SaveToPreferences (System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task SaveToPreferencesAsync ();
// inner types
public static class Notifications {
// methods
public static Foundation.NSObject ObserveConfigurationChange (System.EventHandler<Foundation.NSNotificationEventArgs> handler);
public static Foundation.NSObject ObserveConfigurationChange (Foundation.NSObject objectToObserve, System.EventHandler<Foundation.NSNotificationEventArgs> handler);
}
}
public abstract class NEVpnProtocol : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected NEVpnProtocol ();
protected NEVpnProtocol (Foundation.NSCoder coder);
protected NEVpnProtocol (Foundation.NSObjectFlag t);
protected NEVpnProtocol (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool DisconnectOnSleep { get; set; }
public virtual bool EnforceRoutes { get; set; }
public virtual bool ExcludeLocalNetworks { get; set; }
public virtual Foundation.NSData IdentityData { get; set; }
public virtual string IdentityDataPassword { get; set; }
public virtual Foundation.NSData IdentityReference { get; set; }
public virtual bool IncludeAllNetworks { get; set; }
public virtual Foundation.NSData PasswordReference { get; set; }
public virtual NEProxySettings ProxySettings { get; set; }
public virtual string ServerAddress { get; set; }
public virtual string Username { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class NEVpnProtocolIke2 : NetworkExtension.NEVpnProtocolIpSec {
// constructors
public NEVpnProtocolIke2 ();
public NEVpnProtocolIke2 (Foundation.NSCoder coder);
protected NEVpnProtocolIke2 (Foundation.NSObjectFlag t);
protected NEVpnProtocolIke2 (IntPtr handle);
// properties
public virtual NEVpnIke2CertificateType CertificateType { get; set; }
public virtual NEVpnIke2SecurityAssociationParameters ChildSecurityAssociationParameters { get; }
public override IntPtr ClassHandle { get; }
public virtual NEVpnIke2DeadPeerDetectionRate DeadPeerDetectionRate { get; set; }
public virtual bool DisableMobike { get; set; }
public virtual bool DisableRedirect { get; set; }
public virtual bool EnableFallback { get; set; }
public virtual bool EnablePfs { get; set; }
public virtual bool EnableRevocationCheck { get; set; }
public virtual NEVpnIke2SecurityAssociationParameters IKESecurityAssociationParameters { get; }
public virtual NEVpnIkev2TlsVersion MaximumTlsVersion { get; set; }
public virtual NEVpnIkev2TlsVersion MinimumTlsVersion { get; set; }
public virtual nuint Mtu { get; set; }
public virtual string ServerCertificateCommonName { get; set; }
public virtual string ServerCertificateIssuerCommonName { get; set; }
public virtual bool StrictRevocationCheck { get; set; }
public virtual bool UseConfigurationAttributeInternalIPSubnet { get; set; }
}
public class NEVpnProtocolIpSec : NetworkExtension.NEVpnProtocol {
// constructors
public NEVpnProtocolIpSec ();
public NEVpnProtocolIpSec (Foundation.NSCoder coder);
protected NEVpnProtocolIpSec (Foundation.NSObjectFlag t);
protected NEVpnProtocolIpSec (IntPtr handle);
// properties
public virtual NEVpnIkeAuthenticationMethod AuthenticationMethod { get; set; }
public override IntPtr ClassHandle { get; }
public virtual string LocalIdentifier { get; set; }
public virtual string RemoteIdentifier { get; set; }
public virtual Foundation.NSData SharedSecretReference { get; set; }
public virtual bool UseExtendedAuthentication { get; set; }
}
[Serializable]
public enum NEVpnStatus {
Connected = 3,
Connecting = 2,
Disconnected = 1,
Disconnecting = 5,
Invalid = 0,
Reasserting = 4,
}
public class NWBonjourServiceEndpoint : NetworkExtension.NWEndpoint {
// constructors
public NWBonjourServiceEndpoint (Foundation.NSCoder coder);
protected NWBonjourServiceEndpoint (Foundation.NSObjectFlag t);
protected NWBonjourServiceEndpoint (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string Domain { get; }
public virtual string Name { get; }
public virtual string Type { get; }
// methods
public static NWBonjourServiceEndpoint Create (string name, string type, string domain);
}
public abstract class NWEndpoint : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected NWEndpoint ();
protected NWEndpoint (Foundation.NSCoder coder);
protected NWEndpoint (Foundation.NSObjectFlag t);
protected NWEndpoint (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class NWHostEndpoint : NetworkExtension.NWEndpoint {
// constructors
[Obsolete ("Use the 'Create' method instead.")]
public NWHostEndpoint ();
public NWHostEndpoint (Foundation.NSCoder coder);
protected NWHostEndpoint (Foundation.NSObjectFlag t);
protected NWHostEndpoint (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string Hostname { get; }
public virtual string Port { get; }
// methods
public static NWHostEndpoint Create (string hostname, string port);
}
public class NWPath : Foundation.NSObject {
// constructors
[Obsolete ("This type is not meant to be user created.")]
public NWPath ();
protected NWPath (Foundation.NSObjectFlag t);
protected NWPath (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool Constrained { get; }
public virtual bool Expensive { get; }
public virtual NWPathStatus Status { get; }
// methods
public virtual bool IsEqualToPath (NWPath path);
}
[Serializable]
public enum NWPathStatus {
Invalid = 0,
Satisfiable = 3,
Satisfied = 1,
Unsatisfied = 2,
}
public class NWTcpConnection : Foundation.NSObject {
// constructors
public NWTcpConnection ();
protected NWTcpConnection (Foundation.NSObjectFlag t);
public NWTcpConnection (NWTcpConnection connection);
protected NWTcpConnection (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NWPath ConnectedPath { get; }
public virtual NWEndpoint Endpoint { get; }
public virtual Foundation.NSError Error { get; }
public virtual bool HasBetterPath { get; }
public virtual NWEndpoint LocalAddress { get; }
public virtual NWEndpoint RemoteAddress { get; }
public virtual NWTcpConnectionState State { get; }
public virtual Foundation.NSData TxtRecord { get; }
public virtual bool Viable { get; }
// methods
public virtual void Cancel ();
public virtual void ReadLength (nuint length, System.Action<Foundation.NSData,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<Foundation.NSData> ReadLengthAsync (nuint length);
public virtual void ReadMinimumLength (nuint minimum, nuint maximum, System.Action<Foundation.NSData,Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task<Foundation.NSData> ReadMinimumLengthAsync (nuint minimum, nuint maximum);
public virtual void Write (Foundation.NSData data, System.Action<Foundation.NSError> completion);
public virtual System.Threading.Tasks.Task WriteAsync (Foundation.NSData data);
public virtual void WriteClose ();
}
public class NWTcpConnectionAuthenticationDelegate : Foundation.NSObject, INWTcpConnectionAuthenticationDelegate, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NWTcpConnectionAuthenticationDelegate ();
protected NWTcpConnectionAuthenticationDelegate (Foundation.NSObjectFlag t);
protected NWTcpConnectionAuthenticationDelegate (IntPtr handle);
// methods
public virtual void EvaluateTrust (NWTcpConnection connection, Foundation.NSArray peerCertificateChain, System.Action<Security.SecTrust> completion);
[Obsolete ("Use 'NWTcpConnectionAuthenticationDelegate_Extensions.EvaluateTrustAsync' instead.")]
public virtual System.Threading.Tasks.Task<Security.SecTrust> EvaluateTrustAsync (NWTcpConnection connection, Foundation.NSArray peerCertificateChain);
public virtual void ProvideIdentity (NWTcpConnection connection, System.Action<Security.SecIdentity,Foundation.NSArray> completion);
public virtual bool ShouldEvaluateTrust (NWTcpConnection connection);
public virtual bool ShouldProvideIdentity (NWTcpConnection connection);
}
public static class NWTcpConnectionAuthenticationDelegate_Extensions {
// methods
public static void EvaluateTrust (this INWTcpConnectionAuthenticationDelegate This, NWTcpConnection connection, Foundation.NSArray peerCertificateChain, System.Action<Security.SecTrust> completion);
public static System.Threading.Tasks.Task<Security.SecTrust> EvaluateTrustAsync (this INWTcpConnectionAuthenticationDelegate This, NWTcpConnection connection, Foundation.NSArray peerCertificateChain);
public static void ProvideIdentity (this INWTcpConnectionAuthenticationDelegate This, NWTcpConnection connection, System.Action<Security.SecIdentity,Foundation.NSArray> completion);
public static bool ShouldEvaluateTrust (this INWTcpConnectionAuthenticationDelegate This, NWTcpConnection connection);
public static bool ShouldProvideIdentity (this INWTcpConnectionAuthenticationDelegate This, NWTcpConnection connection);
}
[Serializable]
public enum NWTcpConnectionState {
Cancelled = 5,
Connected = 3,
Connecting = 1,
Disconnected = 4,
Invalid = 0,
Waiting = 2,
}
public class NWTlsParameters : Foundation.NSObject {
// constructors
public NWTlsParameters ();
protected NWTlsParameters (Foundation.NSObjectFlag t);
protected NWTlsParameters (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual nuint MaximumSslProtocolVersion { get; set; }
public virtual nuint MinimumSslProtocolVersion { get; set; }
public virtual Foundation.NSSet<Foundation.NSNumber> SslCipherSuites { get; set; }
public virtual Foundation.NSData TlsSessionID { get; set; }
}
public class NWUdpSession : Foundation.NSObject {
// constructors
public NWUdpSession ();
protected NWUdpSession (Foundation.NSObjectFlag t);
public NWUdpSession (NWUdpSession session);
protected NWUdpSession (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NWPath CurrentPath { get; }
public virtual NWEndpoint Endpoint { get; }
public virtual bool HasBetterPath { get; }
public virtual nuint MaximumDatagramLength { get; }
public virtual NWEndpoint ResolvedEndpoint { get; }
public virtual NWUdpSessionState State { get; }
public virtual bool Viable { get; }
// methods
public virtual void Cancel ();
public virtual void SetReadHandler (System.Action<Foundation.NSArray,Foundation.NSError> handler, nuint maxDatagrams);
public virtual void TryNextResolvedEndpoint ();
public virtual void WriteDatagram (Foundation.NSData datagram, System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task WriteDatagramAsync (Foundation.NSData datagram);
public virtual void WriteMultipleDatagrams (Foundation.NSData[] datagramArray, System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task WriteMultipleDatagramsAsync (Foundation.NSData[] datagramArray);
}
[Serializable]
public enum NWUdpSessionState {
Cancelled = 5,
Failed = 4,
Invalid = 0,
Preparing = 2,
Ready = 3,
Waiting = 1,
}
public class PhaseAmbientMixerDefinition : Phase.PhaseMixerDefinition {
// constructors
protected PhaseAmbientMixerDefinition (Foundation.NSObjectFlag t);
protected PhaseAmbientMixerDefinition (IntPtr handle);
public PhaseAmbientMixerDefinition (AVFoundation.AVAudioChannelLayout layout, OpenTK.Quaternion orientation);
public PhaseAmbientMixerDefinition (AVFoundation.AVAudioChannelLayout layout, OpenTK.Quaternion orientation, Foundation.NSString identifier);
// properties
public override IntPtr ClassHandle { get; }
public virtual AVFoundation.AVAudioChannelLayout InputChannelLayout { get; }
public virtual OpenTK.Quaternion Orientation { get; }
}
public class PhaseAsset : Foundation.NSObject {
// constructors
protected PhaseAsset (Foundation.NSObjectFlag t);
protected PhaseAsset (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string Identifier { get; }
}
[Serializable]
public enum PhaseAssetError {
AlreadyExists = 1346920804,
BadParameters = 1346920803,
FailedToLoad = 1346920801,
GeneralError = 1346920805,
InvalidEngineInstance = 1346920802,
MemoryAllocation = 1346920806,
}
public static class PhaseAssetErrorExtensions {
// methods
public static Foundation.NSString GetDomain (this PhaseAssetError self);
}
public class PhaseAssetRegistry : Foundation.NSObject {
// constructors
protected PhaseAssetRegistry (Foundation.NSObjectFlag t);
protected PhaseAssetRegistry (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSDictionary<Foundation.NSString,Phase.PhaseMetaParameter> GlobalMetaParameters { get; }
// methods
public virtual PhaseAsset GetAsset (string identifier);
public virtual PhaseGlobalMetaParameterAsset RegisterGlobalMetaParameter (PhaseMetaParameterDefinition metaParameterDefinition, out Foundation.NSError error);
public virtual PhaseSoundAsset RegisterSoundAsset (Foundation.NSData data, string identifier, AVFoundation.AVAudioFormat format, PhaseNormalizationMode normalizationMode, out Foundation.NSError error);
public virtual PhaseSoundAsset RegisterSoundAsset (Foundation.NSUrl url, string identifier, PhaseAssetType assetType, AVFoundation.AVAudioChannelLayout channelLayout, PhaseNormalizationMode normalizationMode, out Foundation.NSError error);
public virtual PhaseSoundEventNodeAsset RegisterSoundEventAsset (PhaseSoundEventNodeDefinition rootNode, string identifier, out Foundation.NSError error);
public virtual void UnregisterAsset (string identifier, System.Action<bool> handler);
public virtual System.Threading.Tasks.Task<bool> UnregisterAssetAsync (string identifier);
}
[Serializable]
public enum PhaseAssetType {
Resident = 0,
Streamed = 1,
}
public class PhaseBlendNodeDefinition : Phase.PhaseSoundEventNodeDefinition {
// constructors
protected PhaseBlendNodeDefinition (Foundation.NSObjectFlag t);
public PhaseBlendNodeDefinition (PhaseNumberMetaParameterDefinition blendMetaParameterDefinition);
public PhaseBlendNodeDefinition (PhaseSpatialMixerDefinition spatialMixerDefinition);
protected PhaseBlendNodeDefinition (IntPtr handle);
public PhaseBlendNodeDefinition (PhaseNumberMetaParameterDefinition blendMetaParameterDefinition, string identifier);
public PhaseBlendNodeDefinition (PhaseSpatialMixerDefinition spatialMixerDefinition, string identifier);
// properties
public virtual PhaseNumberMetaParameterDefinition BlendParameterDefinition { get; }
public override IntPtr ClassHandle { get; }
public virtual PhaseSpatialMixerDefinition SpatialMixerDefinitionForDistance { get; }
// methods
public virtual void AddRange (PhaseEnvelope envelope, PhaseSoundEventNodeDefinition subtree);
public virtual void AddRangeForInputValuesAbove (double value, double fullGainAtValue, PhaseCurveType fadeCurveType, PhaseSoundEventNodeDefinition subtree);
public virtual void AddRangeForInputValuesBelow (double value, double fullGainAtValue, PhaseCurveType fadeCurveType, PhaseSoundEventNodeDefinition subtree);
public virtual void AddRangeForInputValuesBetween (double lowValue, double highValue, double fullGainAtLowValue, double fullGainAtHighValue, PhaseCurveType lowFadeCurveType, PhaseCurveType highFadeCurveType, PhaseSoundEventNodeDefinition subtree);
}
[Serializable]
public enum PhaseCalibrationMode {
AbsoluteSpl = 2,
None = 0,
RelativeSpl = 1,
}
public class PhaseChannelMixerDefinition : Phase.PhaseMixerDefinition {
// constructors
public PhaseChannelMixerDefinition (AVFoundation.AVAudioChannelLayout layout);
protected PhaseChannelMixerDefinition (Foundation.NSObjectFlag t);
protected PhaseChannelMixerDefinition (IntPtr handle);
public PhaseChannelMixerDefinition (AVFoundation.AVAudioChannelLayout layout, string identifier);
// properties
public override IntPtr ClassHandle { get; }
public virtual AVFoundation.AVAudioChannelLayout InputChannelLayout { get; }
}
[Serializable]
public enum PhaseCullOption {
DoNotCull = 4,
SleepWakeAtRandomOffset = 2,
SleepWakeAtRealtimeOffset = 3,
SleepWakeAtZero = 1,
Terminate = 0,
}
[Serializable]
public enum PhaseCurveType {
Cubed = 1668432757,
HoldStartValue = 1668434003,
InverseCubed = 1668434243,
InverseSigmoid = 1668434247,
InverseSine = 1668434259,
InverseSquared = 1668434257,
JumpToEndValue = 1668434501,
Linear = 1668435054,
Sigmoid = 1668436839,
Sine = 1668436846,
Squared = 1668436849,
}
public class PhaseDefinition : Foundation.NSObject {
// constructors
protected PhaseDefinition (Foundation.NSObjectFlag t);
protected PhaseDefinition (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string Identifier { get; }
}
public class PhaseDirectivityModelParameters : Foundation.NSObject {
// constructors
protected PhaseDirectivityModelParameters (Foundation.NSObjectFlag t);
protected PhaseDirectivityModelParameters (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class PhaseDistanceModelFadeOutParameters : Foundation.NSObject {
// constructors
protected PhaseDistanceModelFadeOutParameters (Foundation.NSObjectFlag t);
public PhaseDistanceModelFadeOutParameters (double cullDistance);
protected PhaseDistanceModelFadeOutParameters (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual double CullDistance { get; }
}
public class PhaseDistanceModelParameters : Foundation.NSObject {
// constructors
protected PhaseDistanceModelParameters (Foundation.NSObjectFlag t);
protected PhaseDistanceModelParameters (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual PhaseDistanceModelFadeOutParameters FadeOutParameters { get; set; }
}
public class PhaseDucker : Foundation.NSObject {
// constructors
protected PhaseDucker (Foundation.NSObjectFlag t);
protected PhaseDucker (IntPtr handle);
public PhaseDucker (PhaseEngine engine, Foundation.NSSet<PhaseGroup> sourceGroups, Foundation.NSSet<PhaseGroup> targetGroups, double gain, double attackTime, double releaseTime, PhaseCurveType attackCurve, PhaseCurveType releaseCurve);
// properties
public virtual PhaseCurveType AttackCurve { get; }
public virtual double AttackTime { get; }
public override IntPtr ClassHandle { get; }
public virtual double Gain { get; }
public virtual string Identifier { get; }
public virtual bool IsActive { get; }
public virtual PhaseCurveType ReleaseCurve { get; }
public virtual double ReleaseTime { get; }
public virtual Foundation.NSSet<PhaseGroup> SourceGroups { get; }
public virtual Foundation.NSSet<PhaseGroup> TargetGroups { get; }
// methods
public virtual void Activate ();
public virtual void Deactivate ();
}
public class PhaseEngine : Foundation.NSObject {
// constructors
protected PhaseEngine (Foundation.NSObjectFlag t);
public PhaseEngine (PhaseUpdateMode updateMode);
protected PhaseEngine (IntPtr handle);
// properties
public virtual PhaseGroupPreset ActiveGroupPreset { get; }
public virtual PhaseAssetRegistry AssetRegistry { get; }
public override IntPtr ClassHandle { get; }
public virtual PhaseMedium DefaultMedium { get; set; }
public virtual PhaseReverbPreset DefaultReverbPreset { get; set; }
public virtual PhaseDucker[] Duckers { get; }
public virtual Foundation.NSDictionary<Foundation.NSString,Phase.PhaseGroup> Groups { get; }
public virtual PhaseSpatializationMode OutputSpatializationMode { get; set; }
public virtual PhaseRenderingState RenderingState { get; }
public virtual PhaseObject RootObject { get; }
public virtual PhaseSoundEvent[] SoundEvents { get; }
public virtual double UnitsPerMeter { get; set; }
public virtual double UnitsPerSecond { get; set; }
// methods
public virtual void Pause ();
public virtual bool Start (out Foundation.NSError error);
public virtual void Stop ();
public virtual void Update ();
}
public class PhaseEnvelope : Foundation.NSObject {
// constructors
protected PhaseEnvelope (Foundation.NSObjectFlag t);
protected PhaseEnvelope (IntPtr handle);
public PhaseEnvelope (OpenTK.Vector2d startPoint, PhaseEnvelopeSegment[] segments);
// properties
public override IntPtr ClassHandle { get; }
public virtual PhaseNumericPair Domain { get; }
public virtual PhaseNumericPair Range { get; }
public virtual PhaseEnvelopeSegment[] Segments { get; }
public virtual OpenTK.Vector2d StartPoint { get; }
// methods
public virtual double Evaluate (double x);
}
public class PhaseEnvelopeDistanceModelParameters : Phase.PhaseDistanceModelParameters {
// constructors
protected PhaseEnvelopeDistanceModelParameters (Foundation.NSObjectFlag t);
public PhaseEnvelopeDistanceModelParameters (PhaseEnvelope envelope);
protected PhaseEnvelopeDistanceModelParameters (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual PhaseEnvelope Envelope { get; }
}
public class PhaseEnvelopeSegment : Foundation.NSObject {
// constructors
protected PhaseEnvelopeSegment (Foundation.NSObjectFlag t);
protected PhaseEnvelopeSegment (IntPtr handle);
public PhaseEnvelopeSegment (OpenTK.Vector2d endPoint, PhaseCurveType curveType);
// properties
public override IntPtr ClassHandle { get; }
public virtual PhaseCurveType CurveType { get; set; }
public virtual OpenTK.Vector2d EndPoint { get; set; }
}
[Serializable]
public enum PhaseError {
InitializeFailed = 1346913633,
InvalidObject = 1346913634,
}
public static class PhaseErrorExtensions {
// methods
public static Foundation.NSString GetDomain (this PhaseError self);
}
public class PhaseGeneratorNodeDefinition : Phase.PhaseSoundEventNodeDefinition {
// constructors
protected PhaseGeneratorNodeDefinition (Foundation.NSObjectFlag t);
protected PhaseGeneratorNodeDefinition (IntPtr handle);
// properties
public virtual PhaseCalibrationMode CalibrationMode { get; }
public override IntPtr ClassHandle { get; }
public virtual PhaseNumberMetaParameterDefinition GainMetaParameterDefinition { get; set; }
public virtual PhaseGroup Group { get; set; }
public virtual double Level { get; }
public virtual PhaseMixerDefinition MixerDefinition { get; }
public virtual double Rate { get; set; }
public virtual PhaseNumberMetaParameterDefinition RateMetaParameterDefinition { get; set; }
// methods
protected override void Dispose (bool disposing);
public virtual void SetCalibrationMode (PhaseCalibrationMode calibrationMode, double level);
}
public class PhaseGlobalMetaParameterAsset : Phase.PhaseAsset {
// constructors
protected PhaseGlobalMetaParameterAsset (Foundation.NSObjectFlag t);
protected PhaseGlobalMetaParameterAsset (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class PhaseGroup : Foundation.NSObject {
// constructors
protected PhaseGroup (Foundation.NSObjectFlag t);
protected PhaseGroup (IntPtr handle);
public PhaseGroup (string identifier);
// properties
public override IntPtr ClassHandle { get; }
public virtual double Gain { get; set; }
public virtual string Identifier { get; }
public virtual bool Muted { get; }
public virtual double Rate { get; set; }
public virtual bool Soloed { get; }
// methods
public virtual void FadeGain (double gain, double duration, PhaseCurveType curveType);
public virtual void FadeRate (double rate, double duration, PhaseCurveType curveType);
public virtual void Mute ();
public virtual void Register (PhaseEngine engine);
public virtual void Solo ();
public virtual void Unmute ();
public virtual void Unregister ();
public virtual void Unsolo ();
}
public class PhaseGroupPreset : Foundation.NSObject {
// constructors
protected PhaseGroupPreset (Foundation.NSObjectFlag t);
protected PhaseGroupPreset (IntPtr handle);
public PhaseGroupPreset (PhaseEngine engine, Foundation.NSDictionary<Foundation.NSString,Phase.PhaseGroupPresetSetting> settings, double timeToTarget, double timeToReset);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSDictionary<Foundation.NSString,Phase.PhaseGroupPresetSetting> Settings { get; }
public virtual double TimeToReset { get; }
public virtual double TimeToTarget { get; }
// methods
public virtual void Activate ();
public virtual void Activate (double timeToTargetOverride);
public virtual void Deactivate ();
public virtual void Deactivate (double timeToResetOverride);
}
public class PhaseGroupPresetSetting : Foundation.NSObject {
// constructors
protected PhaseGroupPresetSetting (Foundation.NSObjectFlag t);
protected PhaseGroupPresetSetting (IntPtr handle);
public PhaseGroupPresetSetting (double gain, double rate, PhaseCurveType gainCurveType, PhaseCurveType rateCurveType);
// properties
public override IntPtr ClassHandle { get; }
public virtual double Gain { get; }
public virtual PhaseCurveType GainCurveType { get; }
public virtual double Rate { get; }
public virtual PhaseCurveType RateCurveType { get; }
}
public class PhaseListener : Phase.PhaseObject {
// constructors
protected PhaseListener (Foundation.NSObjectFlag t);
public PhaseListener (PhaseEngine engine);
protected PhaseListener (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual double Gain { get; set; }
}
public class PhaseMappedMetaParameterDefinition : Phase.PhaseNumberMetaParameterDefinition {
// constructors
protected PhaseMappedMetaParameterDefinition (Foundation.NSObjectFlag t);
protected PhaseMappedMetaParameterDefinition (IntPtr handle);
public PhaseMappedMetaParameterDefinition (PhaseNumberMetaParameterDefinition inputMetaParameterDefinition, PhaseEnvelope envelope);
public PhaseMappedMetaParameterDefinition (double value, string identifier);
public PhaseMappedMetaParameterDefinition (PhaseNumberMetaParameterDefinition inputMetaParameterDefinition, PhaseEnvelope envelope, string identifier);
public PhaseMappedMetaParameterDefinition (double value, double minimum, double maximum);
// properties
public override IntPtr ClassHandle { get; }
public virtual PhaseEnvelope Envelope { get; }
public virtual PhaseNumberMetaParameterDefinition InputMetaParameterDefinition { get; }
}
public class PhaseMaterial : Foundation.NSObject {
// constructors
protected PhaseMaterial (Foundation.NSObjectFlag t);
protected PhaseMaterial (IntPtr handle);
public PhaseMaterial (PhaseEngine engine, PhaseMaterialPreset preset);
// properties
public override IntPtr ClassHandle { get; }
}
[Serializable]
public enum PhaseMaterialPreset {
Brickwork = 1833071211,
Cardboard = 1833136740,
Concrete = 1833132914,
Drywall = 1833202295,
Glass = 1833397363,
Wood = 1834448228,
}
public class PhaseMedium : Foundation.NSObject {
// constructors
protected PhaseMedium (Foundation.NSObjectFlag t);
protected PhaseMedium (IntPtr handle);
public PhaseMedium (PhaseEngine engine, PhaseMediumPreset preset);
// properties
public override IntPtr ClassHandle { get; }
}
[Serializable]
public enum PhaseMediumPreset {
PresetAir = 1835286898,
}
public class PhaseMetaParameter : Foundation.NSObject {
// constructors
protected PhaseMetaParameter (Foundation.NSObjectFlag t);
protected PhaseMetaParameter (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual string Identifier { get; }
public virtual Foundation.NSObject Value { get; set; }
}
public class PhaseMetaParameterDefinition : Phase.PhaseDefinition {
// constructors
protected PhaseMetaParameterDefinition (Foundation.NSObjectFlag t);
protected PhaseMetaParameterDefinition (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSObject Value { get; }
}
public class PhaseMixer : Foundation.NSObject {
// constructors
protected PhaseMixer (Foundation.NSObjectFlag t);
protected PhaseMixer (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual double Gain { get; }
public virtual PhaseMetaParameter GainMetaParameter { get; }
public virtual string Identifier { get; }
}
public class PhaseMixerDefinition : Phase.PhaseDefinition {
// constructors
protected PhaseMixerDefinition (Foundation.NSObjectFlag t);
protected PhaseMixerDefinition (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual double Gain { get; set; }
public virtual PhaseNumberMetaParameterDefinition GainMetaParameterDefinition { get; set; }
}
public class PhaseMixerParameters : Foundation.NSObject {
// constructors
protected PhaseMixerParameters (Foundation.NSObjectFlag t);
protected PhaseMixerParameters (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void AddAmbientMixerParameters (string identifier, PhaseListener listener);
public virtual void AddSpatialMixerParameters (string identifier, PhaseSource source, PhaseListener listener);
}
[Serializable]
public enum PhaseNormalizationMode {
Dynamic = 1,
None = 0,
}
public class PhaseNumberMetaParameter : Phase.PhaseMetaParameter {
// constructors
protected PhaseNumberMetaParameter (Foundation.NSObjectFlag t);
protected PhaseNumberMetaParameter (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual double Maximum { get; }
public virtual double Minimum { get; }
// methods
public virtual void Fade (double value, double duration);
}
public class PhaseNumberMetaParameterDefinition : Phase.PhaseMetaParameterDefinition {
// constructors
protected PhaseNumberMetaParameterDefinition (Foundation.NSObjectFlag t);
public PhaseNumberMetaParameterDefinition (double value);
protected PhaseNumberMetaParameterDefinition (IntPtr handle);
public PhaseNumberMetaParameterDefinition (double value, string identifier);
public PhaseNumberMetaParameterDefinition (double value, double minimum, double maximum);
public PhaseNumberMetaParameterDefinition (double value, double minimum, double maximum, string identifier);
// properties
public override IntPtr ClassHandle { get; }
public virtual double Maximum { get; }
public virtual double Minimum { get; }
}
public class PhaseNumericPair : Foundation.NSObject {
// constructors
protected PhaseNumericPair (Foundation.NSObjectFlag t);
protected PhaseNumericPair (IntPtr handle);
public PhaseNumericPair (double first, double second);
// properties
public override IntPtr ClassHandle { get; }
public virtual double First { get; set; }
public virtual double Second { get; set; }
}
public class PhaseObject : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected PhaseObject (Foundation.NSObjectFlag t);
public PhaseObject (PhaseEngine engine);
protected PhaseObject (IntPtr handle);
// properties
public virtual PhaseObject[] Children { get; }
public override IntPtr ClassHandle { get; }
public static OpenTK.Vector3 Forward { get; }
public virtual PhaseObject Parent { get; }
public static OpenTK.Vector3 Right { get; }
public virtual OpenTK.NMatrix4 Transform { get; set; }
public static OpenTK.Vector3 Up { get; }
public virtual OpenTK.NMatrix4 WorldTransform { get; set; }
// methods
public virtual bool AddChild (PhaseObject child, out Foundation.NSError error);
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
protected override void Dispose (bool disposing);
public virtual void RemoveChild (PhaseObject child);
public virtual void RemoveChildren ();
}
public class PhaseOccluder : Phase.PhaseObject {
// constructors
protected PhaseOccluder (Foundation.NSObjectFlag t);
public PhaseOccluder (PhaseEngine engine);
protected PhaseOccluder (IntPtr handle);
public PhaseOccluder (PhaseEngine engine, PhaseShape[] shapes);
// properties
public override IntPtr ClassHandle { get; }
public virtual PhaseShape[] Shapes { get; }
}
[Serializable]
public enum PhasePlaybackMode {
Looping = 1,
OneShot = 0,
}
[Serializable]
[Flags]
public enum PhasePushStreamBufferOptions {
Default = 1,
Interrupts = 4,
InterruptsAtLoop = 8,
Loops = 2,
}
[Serializable]
public enum PhasePushStreamCompletionCallbackCondition {
DataRendered = 0,
}
public class PhasePushStreamNode : Foundation.NSObject {
// constructors
protected PhasePushStreamNode (Foundation.NSObjectFlag t);
protected PhasePushStreamNode (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual AVFoundation.AVAudioFormat Format { get; }
public virtual PhaseNumberMetaParameter GainMetaParameter { get; }
public virtual PhaseMixer Mixer { get; }
public virtual PhaseNumberMetaParameter RateMetaParameter { get; }
// methods
public virtual void ScheduleBuffer (AVFoundation.AVAudioPcmBuffer buffer);
public virtual void ScheduleBuffer (AVFoundation.AVAudioPcmBuffer buffer, AVFoundation.AVAudioTime when, PhasePushStreamBufferOptions options);
public virtual void ScheduleBuffer (AVFoundation.AVAudioPcmBuffer buffer, PhasePushStreamCompletionCallbackCondition completionCallbackCondition, System.Action<PhasePushStreamCompletionCallbackCondition> completionHandler);
public virtual void ScheduleBuffer (AVFoundation.AVAudioPcmBuffer buffer, AVFoundation.AVAudioTime when, PhasePushStreamBufferOptions options, PhasePushStreamCompletionCallbackCondition completionCallbackCondition, System.Action<PhasePushStreamCompletionCallbackCondition> completionHandler);
public virtual System.Threading.Tasks.Task<PhasePushStreamCompletionCallbackCondition> ScheduleBufferAsync (AVFoundation.AVAudioPcmBuffer buffer, PhasePushStreamCompletionCallbackCondition completionCallbackCondition);
public virtual System.Threading.Tasks.Task<PhasePushStreamCompletionCallbackCondition> ScheduleBufferAsync (AVFoundation.AVAudioPcmBuffer buffer, AVFoundation.AVAudioTime when, PhasePushStreamBufferOptions options, PhasePushStreamCompletionCallbackCondition completionCallbackCondition);
}
public class PhasePushStreamNodeDefinition : Phase.PhaseGeneratorNodeDefinition {
// constructors
protected PhasePushStreamNodeDefinition (Foundation.NSObjectFlag t);
protected PhasePushStreamNodeDefinition (IntPtr handle);
public PhasePushStreamNodeDefinition (PhaseMixerDefinition mixerDefinition, AVFoundation.AVAudioFormat format);
public PhasePushStreamNodeDefinition (PhaseMixerDefinition mixerDefinition, AVFoundation.AVAudioFormat format, string identifier);
// properties
public override IntPtr ClassHandle { get; }
public virtual AVFoundation.AVAudioFormat Format { get; }
public virtual bool Normalize { get; set; }
}
[Serializable]
public enum PhaseRenderingState {
Paused = 2,
Started = 1,
Stopped = 0,
}
[Serializable]
public enum PhaseReverbPreset {
Cathedral = 1917023336,
LargeChamber = 1917600616,
LargeHall = 1917601841,
LargeHall2 = 1917601842,
LargeRoom = 1917604401,
LargeRoom2 = 1917604402,
MediumChamber = 1917666152,
MediumHall = 1917667377,
MediumHall2 = 1917667378,
MediumHall3 = 1917667379,
MediumRoom = 1917669997,
None = 1917742958,
SmallRoom = 1918063213,
}
public class PhaseSamplerNodeDefinition : Phase.PhaseGeneratorNodeDefinition {
// constructors
protected PhaseSamplerNodeDefinition (Foundation.NSObjectFlag t);
protected PhaseSamplerNodeDefinition (IntPtr handle);
public PhaseSamplerNodeDefinition (string soundAssetIdentifier, PhaseMixerDefinition mixerDefinition);
public PhaseSamplerNodeDefinition (string soundAssetIdentifier, PhaseMixerDefinition mixerDefinition, string identifier);
// properties
public virtual string AssetIdentifier { get; }
public override IntPtr ClassHandle { get; }
public virtual PhaseCullOption CullOption { get; set; }
public virtual PhasePlaybackMode PlaybackMode { get; set; }
}
public class PhaseShape : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected PhaseShape (Foundation.NSObjectFlag t);
protected PhaseShape (IntPtr handle);
public PhaseShape (PhaseEngine engine, ModelIO.MDLMesh mesh);
public PhaseShape (PhaseEngine engine, ModelIO.MDLMesh mesh, PhaseMaterial[] materials);
// properties
public override IntPtr ClassHandle { get; }
public virtual PhaseShapeElement[] Elements { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
}
public class PhaseShapeElement : Foundation.NSObject {
// constructors
protected PhaseShapeElement (Foundation.NSObjectFlag t);
protected PhaseShapeElement (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual PhaseMaterial Material { get; set; }
}
public class PhaseSoundAsset : Phase.PhaseAsset {
// constructors
protected PhaseSoundAsset (Foundation.NSObjectFlag t);
protected PhaseSoundAsset (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSData Data { get; }
public virtual PhaseAssetType Type { get; }
public virtual Foundation.NSUrl Url { get; }
}
public class PhaseSoundEvent : Foundation.NSObject {
// constructors
protected PhaseSoundEvent (Foundation.NSObjectFlag t);
protected PhaseSoundEvent (IntPtr handle);
public PhaseSoundEvent (PhaseEngine engine, string assetIdentifier, out Foundation.NSError error);
public PhaseSoundEvent (PhaseEngine engine, string assetIdentifier, PhaseMixerParameters mixerParameters, out Foundation.NSError error);
// properties
public override IntPtr ClassHandle { get; }
public virtual bool Indefinite { get; }
public virtual Foundation.NSDictionary<Foundation.NSString,Phase.PhaseMetaParameter> MetaParameters { get; }
public virtual Foundation.NSDictionary<Foundation.NSString,Phase.PhaseMixer> Mixers { get; }
public virtual PhaseSoundEventPrepareState PrepareState { get; }
public virtual Foundation.NSDictionary<Foundation.NSString,Phase.PhasePushStreamNode> PushStreamNodes { get; }
public virtual PhaseRenderingState RenderingState { get; }
// methods
public virtual void Pause ();
public virtual void Prepare (System.Action<PhaseSoundEventPrepareHandlerReason> completionBlock);
public virtual bool Prepare (out Foundation.NSError error);
public virtual System.Threading.Tasks.Task<PhaseSoundEventPrepareHandlerReason> PrepareAsync ();
public virtual void Resume ();
public virtual bool Seek (double time, System.Action<PhaseSoundEventSeekHandlerReason> completionHandler);
public virtual System.Threading.Tasks.Task<PhaseSoundEventSeekHandlerReason> SeekAsync (double time);
public virtual System.Threading.Tasks.Task<PhaseSoundEventSeekHandlerReason> SeekAsync (double time, out bool result);
public virtual bool Start (System.Action<PhaseSoundEventStartHandlerReason> completionBlock);
public virtual bool Start (out Foundation.NSError error);
public virtual System.Threading.Tasks.Task<PhaseSoundEventStartHandlerReason> StartAsync ();
public virtual System.Threading.Tasks.Task<PhaseSoundEventStartHandlerReason> StartAsync (out bool result);
public virtual void StopAndInvalidate ();
}
[Serializable]
public enum PhaseSoundEventError {
ApiMisuse = 1346925668,
BadData = 1346925666,
InvalidInstance = 1346925667,
NotFound = 1346925665,
OutOfMemory = 1346925670,
SystemNotInitialized = 1346925669,
}
public static class PhaseSoundEventErrorExtensions {
// methods
public static Foundation.NSString GetDomain (this PhaseSoundEventError self);
}
public class PhaseSoundEventNodeAsset : Phase.PhaseAsset {
// constructors
protected PhaseSoundEventNodeAsset (Foundation.NSObjectFlag t);
protected PhaseSoundEventNodeAsset (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class PhaseSoundEventNodeDefinition : Phase.PhaseDefinition {
// constructors
protected PhaseSoundEventNodeDefinition (Foundation.NSObjectFlag t);
protected PhaseSoundEventNodeDefinition (IntPtr handle);
// properties
public virtual PhaseSoundEventNodeDefinition[] Children { get; }
public override IntPtr ClassHandle { get; }
}
[Serializable]
public enum PhaseSoundEventPrepareHandlerReason {
Error = 0,
Prepared = 1,
Terminated = 2,
}
[Serializable]
public enum PhaseSoundEventPrepareState {
InProgress = 1,
NotStarted = 0,
Prepared = 2,
}
[Serializable]
public enum PhaseSoundEventSeekHandlerReason {
Error = 0,
ErrorSeekAlreadyInProgress = 1,
SeekSuccessful = 2,
}
[Serializable]
public enum PhaseSoundEventStartHandlerReason {
Error = 0,
FinishedPlaying = 1,
Terminated = 2,
}
public class PhaseSource : Phase.PhaseObject {
// constructors
protected PhaseSource (Foundation.NSObjectFlag t);
public PhaseSource (PhaseEngine engine);
protected PhaseSource (IntPtr handle);
public PhaseSource (PhaseEngine engine, PhaseShape[] shapes);
// properties
public override IntPtr ClassHandle { get; }
public virtual double Gain { get; set; }
public virtual PhaseShape[] Shapes { get; }
}
[Serializable]
public enum PhaseSpatialCategory {
DirectPathTransmission = 0,
EarlyReflections = 1,
LateReverb = 2,
}
public static class PhaseSpatialCategoryExtensions {
// methods
public static Foundation.NSString GetConstant (this PhaseSpatialCategory self);
public static PhaseSpatialCategory GetValue (Foundation.NSString constant);
}
public class PhaseSpatialMixerDefinition : Phase.PhaseMixerDefinition {
// constructors
protected PhaseSpatialMixerDefinition (Foundation.NSObjectFlag t);
public PhaseSpatialMixerDefinition (PhaseSpatialPipeline spatialPipeline);
protected PhaseSpatialMixerDefinition (IntPtr handle);
public PhaseSpatialMixerDefinition (PhaseSpatialPipeline spatialPipeline, string identifier);
// properties
public override IntPtr ClassHandle { get; }
public virtual PhaseDistanceModelParameters DistanceModelParameters { get; set; }
public virtual PhaseDirectivityModelParameters ListenerDirectivityModelParameters { get; set; }
public virtual PhaseDirectivityModelParameters SourceDirectivityModelParameters { get; set; }
public virtual PhaseSpatialPipeline SpatialPipeline { get; }
}
public class PhaseSpatialPipeline : Foundation.NSObject {
// constructors
protected PhaseSpatialPipeline (Foundation.NSObjectFlag t);
public PhaseSpatialPipeline (PhaseSpatialPipelineFlags flags);
protected PhaseSpatialPipeline (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual Foundation.NSDictionary<Foundation.NSString,Phase.PhaseSpatialPipelineEntry> Entries { get; }
public virtual PhaseSpatialPipelineFlags Flags { get; }
}
public class PhaseSpatialPipelineEntry : Foundation.NSObject {
// constructors
protected PhaseSpatialPipelineEntry (Foundation.NSObjectFlag t);
protected PhaseSpatialPipelineEntry (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual double SendLevel { get; set; }
public virtual PhaseNumberMetaParameterDefinition SendLevelMetaParameterDefinition { get; set; }
}
[Serializable]
[Flags]
public enum PhaseSpatialPipelineFlags {
DirectPathTransmission = 1,
EarlyReflections = 2,
LateReverb = 4,
}
[Serializable]
public enum PhaseSpatializationMode {
AlwaysUseBinaural = 1,
AlwaysUseChannelBased = 2,
Automatic = 0,
}
public class PhaseStringMetaParameter : Phase.PhaseMetaParameter {
// constructors
protected PhaseStringMetaParameter (Foundation.NSObjectFlag t);
protected PhaseStringMetaParameter (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public class PhaseStringMetaParameterDefinition : Phase.PhaseMetaParameterDefinition {
// constructors
protected PhaseStringMetaParameterDefinition (Foundation.NSObjectFlag t);
protected PhaseStringMetaParameterDefinition (IntPtr handle);
public PhaseStringMetaParameterDefinition (string value);
public PhaseStringMetaParameterDefinition (string value, string identifier);
// properties
public override IntPtr ClassHandle { get; }
}
public class PhaseSwitchNodeDefinition : Phase.PhaseSoundEventNodeDefinition {
// constructors
protected PhaseSwitchNodeDefinition (Foundation.NSObjectFlag t);
public PhaseSwitchNodeDefinition (PhaseStringMetaParameterDefinition switchMetaParameterDefinition);
protected PhaseSwitchNodeDefinition (IntPtr handle);
public PhaseSwitchNodeDefinition (PhaseStringMetaParameterDefinition switchMetaParameterDefinition, string identifier);
// properties
public override IntPtr ClassHandle { get; }
public virtual PhaseStringMetaParameterDefinition SwitchMetaParameterDefinition { get; }
// methods
public virtual void AddSubtree (PhaseSoundEventNodeDefinition subtree, string switchValue);
}
[Serializable]
public enum PhaseUpdateMode {
Automatic = 0,
Manual = 1,
}
public class NSSymbolAppearEffect : Symbols.NSSymbolEffect {
// constructors
public NSSymbolAppearEffect (Foundation.NSCoder coder);
protected NSSymbolAppearEffect (Foundation.NSObjectFlag t);
protected NSSymbolAppearEffect (IntPtr handle);
// properties
public virtual NSSymbolAppearEffect ByLayer { get; }
public override IntPtr ClassHandle { get; }
public virtual NSSymbolAppearEffect WholeSymbol { get; }
// methods
public static NSSymbolAppearEffect Create ();
public static NSSymbolAppearEffect CreateAppearDownEffect ();
public static NSSymbolAppearEffect CreateAppearUpEffect ();
}
public class NSSymbolAutomaticContentTransition : Symbols.NSSymbolContentTransition {
// constructors
public NSSymbolAutomaticContentTransition (Foundation.NSCoder coder);
protected NSSymbolAutomaticContentTransition (Foundation.NSObjectFlag t);
protected NSSymbolAutomaticContentTransition (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public static NSSymbolAutomaticContentTransition Create ();
}
public class NSSymbolBounceEffect : Symbols.NSSymbolEffect {
// constructors
public NSSymbolBounceEffect (Foundation.NSCoder coder);
protected NSSymbolBounceEffect (Foundation.NSObjectFlag t);
protected NSSymbolBounceEffect (IntPtr handle);
// properties
public virtual NSSymbolBounceEffect ByLayer { get; }
public override IntPtr ClassHandle { get; }
public virtual NSSymbolBounceEffect WholeSymbol { get; }
// methods
public static NSSymbolBounceEffect Create ();
public static NSSymbolBounceEffect CreateBounceDownEffect ();
public static NSSymbolBounceEffect CreateBounceUpEffect ();
}
public class NSSymbolContentTransition : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSSymbolContentTransition (Foundation.NSCoder coder);
protected NSSymbolContentTransition (Foundation.NSObjectFlag t);
protected NSSymbolContentTransition (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class NSSymbolDisappearEffect : Symbols.NSSymbolEffect {
// constructors
public NSSymbolDisappearEffect (Foundation.NSCoder coder);
protected NSSymbolDisappearEffect (Foundation.NSObjectFlag t);
protected NSSymbolDisappearEffect (IntPtr handle);
// properties
public virtual NSSymbolDisappearEffect ByLayer { get; }
public override IntPtr ClassHandle { get; }
public virtual NSSymbolDisappearEffect WholeSymbol { get; }
// methods
public static NSSymbolDisappearEffect Create ();
public static NSSymbolDisappearEffect CreateDisappearDownEffect ();
public static NSSymbolDisappearEffect CreateDisappearUpEffect ();
}
public class NSSymbolEffect : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSSymbolEffect (Foundation.NSCoder coder);
protected NSSymbolEffect (Foundation.NSObjectFlag t);
protected NSSymbolEffect (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class NSSymbolEffectOptions : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public NSSymbolEffectOptions (Foundation.NSCoder coder);
protected NSSymbolEffectOptions (Foundation.NSObjectFlag t);
protected NSSymbolEffectOptions (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public static NSSymbolEffectOptions Create ();
public static NSSymbolEffectOptions Create (double speed);
public static NSSymbolEffectOptions Create (nint repeatCount);
public static NSSymbolEffectOptions CreateNonRepeating ();
public static NSSymbolEffectOptions CreateRepeating ();
public virtual void EncodeTo (Foundation.NSCoder encoder);
public virtual NSSymbolEffectOptions Get (double speed);
public virtual NSSymbolEffectOptions Get (nint repeatCount);
public virtual NSSymbolEffectOptions GetNonRepeating ();
public virtual NSSymbolEffectOptions GetRepeating ();
}
public class NSSymbolPulseEffect : Symbols.NSSymbolEffect {
// constructors
public NSSymbolPulseEffect (Foundation.NSCoder coder);
protected NSSymbolPulseEffect (Foundation.NSObjectFlag t);
protected NSSymbolPulseEffect (IntPtr handle);
// properties
public virtual NSSymbolPulseEffect ByLayer { get; }
public override IntPtr ClassHandle { get; }
public virtual NSSymbolPulseEffect WholeSymbol { get; }
// methods
public static NSSymbolPulseEffect Create ();
}
public class NSSymbolReplaceContentTransition : Symbols.NSSymbolContentTransition {
// constructors
public NSSymbolReplaceContentTransition (Foundation.NSCoder coder);
protected NSSymbolReplaceContentTransition (Foundation.NSObjectFlag t);
protected NSSymbolReplaceContentTransition (IntPtr handle);
// properties
public virtual NSSymbolReplaceContentTransition ByLayer { get; }
public override IntPtr ClassHandle { get; }
public virtual NSSymbolReplaceContentTransition WholeSymbol { get; }
// methods
public static NSSymbolReplaceContentTransition Create ();
public static NSSymbolReplaceContentTransition CreateReplaceDownUpTransition ();
public static NSSymbolReplaceContentTransition CreateReplaceOffUpTransition ();
public static NSSymbolReplaceContentTransition CreateReplaceUpUpTransition ();
}
public class NSSymbolScaleEffect : Symbols.NSSymbolEffect {
// constructors
public NSSymbolScaleEffect (Foundation.NSCoder coder);
protected NSSymbolScaleEffect (Foundation.NSObjectFlag t);
protected NSSymbolScaleEffect (IntPtr handle);
// properties
public virtual NSSymbolScaleEffect ByLayer { get; }
public override IntPtr ClassHandle { get; }
public virtual NSSymbolScaleEffect WholeSymbol { get; }
// methods
public static NSSymbolScaleEffect Create ();
public static NSSymbolScaleEffect CreateScaleDownEffect ();
public static NSSymbolScaleEffect CreateScaleUpEffect ();
}
public class NSSymbolVariableColorEffect : Symbols.NSSymbolEffect {
// constructors
public NSSymbolVariableColorEffect (Foundation.NSCoder coder);
protected NSSymbolVariableColorEffect (Foundation.NSObjectFlag t);
protected NSSymbolVariableColorEffect (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual NSSymbolVariableColorEffect Cumulative { get; }
public virtual NSSymbolVariableColorEffect DimInactiveLayers { get; }
public virtual NSSymbolVariableColorEffect HideInactiveLayers { get; }
public virtual NSSymbolVariableColorEffect Iterative { get; }
public virtual NSSymbolVariableColorEffect NonReversing { get; }
public virtual NSSymbolVariableColorEffect Reversing { get; }
// methods
public static NSSymbolVariableColorEffect Create ();
}