title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.TVOS SDK API diff: 16.4.0 vs 16.99.0 |
List of API changes between Xamarin.TVOS versions 16.4.0 and 16.99.0. |
spouliot |
sepoulio |
8/29/2023 |
article |
91fc7efe-d989-8873-0185-640e22610c67 |
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 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);
}
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,
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 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 properties:
public string[] AllModes { get; }
public string CurrentMode { get; }
Added method:
public CFRunLoopExitReason RunInMode (string mode, double seconds, bool returnAfterSourceHandled);
Added property:
public bool Extrapolate { get; set; }
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; }
}
Added methods:
public static NSUrl CreateFileUrl (string path);
public static NSUrl CreateFileUrl (string path, bool isDir);
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 = "16.99.0";
Added fields:
public static const string CinematicLibrary = "/System/Library/Frameworks/Cinematic.framework/Cinematic";
public static const string SymbolsLibrary = "/System/Library/Frameworks/Symbols.framework/Symbols";
Added interfaces:
Foundation.INSCopying
ObjCRuntime.INativeObject
System.IDisposable
Added method:
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
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 constructor:
public SKCloudServiceController ();
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 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 ();
}