title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.iOS SDK API diff |
List of API changes for Xamarin.iOS. |
spouliot |
sepoulio |
11/2/2022 |
article |
f7934223-2a8c-d5d4-788f-79d2f8610aa7 |
xamarin |
Added property:
public virtual AVAssetTrackGroupOutputHandling AudioTrackGroupHandling { get; set; }
Added methods:
public virtual void GenerateCGImage (CoreMedia.CMTime requestedTime, System.Action<CoreGraphics.CGImage,CoreMedia.CMTime,Foundation.NSError> handler);
public virtual System.Threading.Tasks.Task<GenerateCGImageAsyncResult> GenerateCGImageAsync (CoreMedia.CMTime requestedTime);
Added property:
public virtual bool IsEntireLengthAvailableOnDemand { get; set; }
Added property:
public virtual bool CanProvideSampleCursors { get; }
Added methods:
public virtual AVSampleCursor MakeSampleCursor (CoreMedia.CMTime presentationTimeStamp);
public virtual AVSampleCursor MakeSampleCursorAtFirstSampleInDecodeOrder ();
public virtual AVSampleCursor MakeSampleCursorAtLastSampleInDecodeOrder ();
Added methods:
public virtual AVMusicTrack CreateAndAppendTrack ();
public virtual bool RemoveTrack (AVMusicTrack track);
public virtual void ReverseEvents ();
public virtual void SetUserCallback (AVAudioSequencerUserCallback userCallback);
Added properties:
public virtual UIKit.UIImage Icon { get; }
public virtual bool PassesAUVal { get; }
public virtual Foundation.NSDictionary WeakConfigurationDictionary { get; }
Added properties:
public virtual AVCaptureDevice CompanionDeskViewCamera { get; }
public virtual bool IsContinuityCamera { get; }
public virtual bool IsStudioLightActive { get; }
public static bool IsStudioLightEnabled { get; set; }
Added properties:
public virtual bool IsStudioLightSupported { get; }
public virtual Foundation.NSNumber[] SecondaryNativeResolutionZoomFactors { get; }
public virtual Foundation.NSValue[] SupportedMaxPhotoDimensions { get; }
public virtual Foundation.NSNumber[] SupportedVideoZoomFactorsForDepthDataDelivery { get; }
public virtual AVFrameRateRange VideoFrameRateRangeForStudioLight { get; }
Added value:
DeskViewCamera = 11,
Added properties:
public virtual CoreMedia.CMVideoDimensions MaxPhotoDimensions { get; set; }
public virtual bool PreservesLivePhotoCaptureSuspendedOnSessionStop { get; set; }
Added property:
public virtual CoreMedia.CMVideoDimensions MaxPhotoDimensions { get; set; }
Added properties:
public virtual float HardwareCost { get; }
public virtual bool IsMultitaskingCameraAccessEnabled { get; set; }
public virtual bool IsMultitaskingCameraAccessSupported { get; }
Added values:
AirPlayReceiverTemporarilyUnavailable = -11882,
FailedToLoadSampleData = -11881,
InvalidSampleCursor = -11880,
Added property:
public virtual bool UsesAutomatedParameters { get; set; }
Added methods:
public virtual void AddEvent (AVMusicEvent event, double beat);
public virtual void ClearEvents (AVBeatRange range);
public virtual void CopyAndMergeEvents (AVBeatRange range, AVMusicTrack sourceTrack, double mergeStartBeat);
public virtual void CopyEvents (AVBeatRange range, AVMusicTrack sourceTrack, double insertStartBeat);
public virtual void CutEvents (AVBeatRange range);
public virtual void EnumerateEvents (AVBeatRange range, AVMusicEventEnumerationBlock block);
public virtual void MoveEvents (AVBeatRange range, double beatAmount);
Added methods:
public virtual void Insert (CoreMedia.CMTimeRange timeRange, AVAsset asset, CoreMedia.CMTime startTime, System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task InsertAsync (CoreMedia.CMTimeRange timeRange, AVAsset asset, CoreMedia.CMTime startTime);
Added methods:
public virtual void InsertTimeRange (CoreMedia.CMTimeRange timeRange, AVAsset asset, CoreMedia.CMTime startTime, System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task InsertTimeRangeAsync (CoreMedia.CMTimeRange timeRange, AVAsset asset, CoreMedia.CMTime startTime);
Added methods:
public static void Create (AVAsset asset, System.Action<AVVideoComposition,Foundation.NSError> completionHandler);
public static void Create (AVAsset asset, AVVideoCompositionInstruction prototypeInstruction, System.Action<AVMutableVideoComposition,Foundation.NSError> completionHandler);
public static void Create (AVAsset asset, System.Action<AVAsynchronousCIImageFilteringRequest> applier, System.Action<AVMutableVideoComposition,Foundation.NSError> completionHandler);
public static System.Threading.Tasks.Task<AVVideoComposition> CreateAsync (AVAsset asset);
public static System.Threading.Tasks.Task<AVMutableVideoComposition> CreateAsync (AVAsset asset, AVVideoCompositionInstruction prototypeInstruction);
public static System.Threading.Tasks.Task<AVMutableVideoComposition> CreateAsync (AVAsset asset, System.Action<AVAsynchronousCIImageFilteringRequest> applier);
Added property:
public virtual float DefaultRate { get; set; }
Modified properties:
-public virtual Foundation.NSDate Date { get; set; }
+public virtual Foundation.NSDate Date { get; }
-public virtual string Identifier { get; set; }
+public virtual string Identifier { get; }
-public virtual CoreMedia.CMTime PlayoutLimit { get; set; }
+public virtual CoreMedia.CMTime PlayoutLimit { get; }
-public virtual AVPlayerItem PrimaryItem { get; set; }
+public virtual AVPlayerItem PrimaryItem { get; }
-public virtual AVPlayerInterstitialEventRestrictions Restrictions { get; set; }
+public virtual AVPlayerInterstitialEventRestrictions Restrictions { get; }
-public virtual CoreMedia.CMTime ResumptionOffset { get; set; }
+public virtual CoreMedia.CMTime ResumptionOffset { get; }
-public virtual AVPlayerItem[] TemplateItems { get; set; }
+public virtual AVPlayerItem[] TemplateItems { get; }
-public virtual CoreMedia.CMTime Time { get; set; }
+public virtual CoreMedia.CMTime Time { get; }
-public virtual Foundation.NSDictionary UserDefinedAttributes { get; set; }
+public virtual Foundation.NSDictionary UserDefinedAttributes { get; }
Added properties:
public virtual bool AlignsResumptionWithPrimarySegmentBoundary { get; set; }
public virtual bool AlignsStartWithPrimarySegmentBoundary { get; set; }
public virtual string Cue { get; set; }
public virtual bool WillPlayOnce { get; set; }
Added methods:
public static AVPlayerInterstitialEvent GetInterstitialEvent (AVPlayerItem primaryItem, CoreMedia.CMTime time);
public static AVPlayerInterstitialEvent GetInterstitialEvent (AVPlayerItem primaryItem, Foundation.NSDate date);
Added method:
public virtual CoreVideo.CVPixelBuffer CopyDisplayedPixelBuffer ();
Added property:
public virtual bool DetectsCustomRoutes { get; set; }
Added value:
Premium = 3,
Added method:
public virtual void WriteUtterance (AVSpeechUtterance utterance, AVSpeechSynthesizerBufferCallback bufferCallback, AVSpeechSynthesizerMarkerCallback markerCallback);
Removed constructor:
public AVSpeechUtterance (string speechString);
Added constructor:
public AVSpeechUtterance (string speechString, bool isSsmlRepresentation);
Added method:
public static AVSpeechUtterance GetSpeechUtterance (string SsmlRepresentation);
Added properties:
public virtual Foundation.NSUuid HttpSessionIdentifier { get; }
public static Foundation.NSString HttpUserAgentKey { get; }
public static Foundation.NSString PrimarySessionIdentifierKey { get; }
Added methods:
public static void Create (AVAsset asset, System.Action<AVMutableVideoComposition,Foundation.NSError> completionHandler);
public static void Create (AVAsset asset, System.Action<AVAsynchronousCIImageFilteringRequest> applier, System.Action<AVVideoComposition,Foundation.NSError> completionHandler);
public static System.Threading.Tasks.Task<AVMutableVideoComposition> CreateAsync (AVAsset asset);
public static System.Threading.Tasks.Task<AVVideoComposition> CreateAsync (AVAsset asset, System.Action<AVAsynchronousCIImageFilteringRequest> applier);
public virtual void DetermineValidity (AVAsset asset, CoreMedia.CMTimeRange timeRange, IAVVideoCompositionValidationHandling validationDelegate, System.Action<System.Boolean,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> DetermineValidityAsync (AVAsset asset, CoreMedia.CMTimeRange timeRange, IAVVideoCompositionValidationHandling validationDelegate);
Added methods:
public virtual void DetermineValidity (AVAsset asset, CoreMedia.CMTimeRange timeRange, IAVVideoCompositionValidationHandling validationDelegate, System.Action<System.Boolean,Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> DetermineValidityAsync (AVAsset asset, CoreMedia.CMTimeRange timeRange, IAVVideoCompositionValidationHandling validationDelegate);
Added property:
public static Foundation.NSString AVVideoTransferFunction_Linear { get; }
public class AVAUPresetEvent : AVFoundation.AVMusicEvent {
// constructors
public AVAUPresetEvent ();
protected AVAUPresetEvent (Foundation.NSObjectFlag t);
protected AVAUPresetEvent (IntPtr handle);
public AVAUPresetEvent (uint scope, uint element, Foundation.NSDictionary presetDictionary);
// properties
public override IntPtr ClassHandle { get; }
public virtual uint Element { get; set; }
public virtual Foundation.NSDictionary PresetDictionary { get; }
public virtual uint Scope { get; set; }
}
public class AVAssetPlaybackAssistant : Foundation.NSObject {
// constructors
protected AVAssetPlaybackAssistant (Foundation.NSObjectFlag t);
protected AVAssetPlaybackAssistant (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public static AVAssetPlaybackAssistant Create (AVAsset asset);
public virtual void LoadPlaybackConfigurationOptions (System.Action<Foundation.NSArray<Foundation.NSString>> completionHandler);
public virtual System.Threading.Tasks.Task<Foundation.NSArray<Foundation.NSString>> LoadPlaybackConfigurationOptionsAsync ();
}
[Serializable]
public enum AVAssetPlaybackConfigurationOption {
StereoMultiviewVideo = 1,
StereoVideo = 0,
}
public static class AVAssetPlaybackConfigurationOptionExtensions {
// methods
public static Foundation.NSString GetConstant (this AVAssetPlaybackConfigurationOption self);
public static AVAssetPlaybackConfigurationOption GetValue (Foundation.NSString constant);
}
[Serializable]
[Flags]
public enum AVAssetTrackGroupOutputHandling {
DefaultPolicy = 0,
None = 0,
PreserveAlternateTracks = 1,
}
public static class AVAudioSequencerInfoDictionaryKeys {
// properties
public static Foundation.NSString AlbumKey { get; }
public static Foundation.NSString ApproximateDurationInSecondsKey { get; }
public static Foundation.NSString ArtistKey { get; }
public static Foundation.NSString ChannelLayoutKey { get; }
public static Foundation.NSString CommentsKey { get; }
public static Foundation.NSString ComposerKey { get; }
public static Foundation.NSString CopyrightKey { get; }
public static Foundation.NSString EncodingApplicationKey { get; }
public static Foundation.NSString GenreKey { get; }
public static Foundation.NSString IsrcKey { get; }
public static Foundation.NSString KeySignatureKey { get; }
public static Foundation.NSString LyricistKey { get; }
public static Foundation.NSString NominalBitRateKey { get; }
public static Foundation.NSString RecordedDateKey { get; }
public static Foundation.NSString SourceBitDepthKey { get; }
public static Foundation.NSString SourceEncoderKey { get; }
public static Foundation.NSString SubTitleKey { get; }
public static Foundation.NSString TempoKey { get; }
public static Foundation.NSString TimeSignatureKey { get; }
public static Foundation.NSString TitleKey { get; }
public static Foundation.NSString TrackNumberKey { get; }
public static Foundation.NSString YearKey { get; }
}
public sealed delegate AVAudioSequencerUserCallback : System.MulticastDelegate {
// constructors
public AVAudioSequencerUserCallback (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (AVMusicTrack track, Foundation.NSData data, double timestamp, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (AVMusicTrack track, Foundation.NSData data, double timestamp);
}
public static class AVCompositionTrack_SynchronousTrackInterface {
// methods
public static AVAssetTrack[] GetAssociatedTracks (this AVCompositionTrack This, Foundation.NSString avAssetTrackTrackAssociationType);
public static AVMetadataItem[] GetMetadata (this AVCompositionTrack This, AVMetadataFormat format);
public static AVMetadataItem[] GetMetadataForFormat (this AVCompositionTrack This, string format);
public static CoreMedia.CMTime GetSamplePresentationTime (this AVCompositionTrack This, CoreMedia.CMTime trackTime);
public static bool HasMediaCharacteristic (this AVCompositionTrack This, string mediaCharacteristic);
}
public static class AVComposition_SynchronousAssetInterface {
// methods
public static AVTimedMetadataGroup[] GetChapterMetadataGroups (this AVComposition This, Foundation.NSLocale locale, string[] commonKeys);
public static AVTimedMetadataGroup[] GetChapterMetadataGroupsBestMatchingPreferredLanguages (this AVComposition This, string[] preferredLanguages);
public static AVMediaSelectionGroup GetMediaSelectionGroup (this AVComposition This, string mediaCharacteristic);
public static AVMetadataItem[] GetMetadata (this AVComposition This, AVMetadataFormat format);
public static AVMetadataItem[] GetMetadataForFormat (this AVComposition This, Foundation.NSString format);
public static int GetUnusedTrackId (this AVComposition This);
}
public class AVExtendedNoteOnEvent : AVFoundation.AVMusicEvent {
// constructors
public AVExtendedNoteOnEvent ();
protected AVExtendedNoteOnEvent (Foundation.NSObjectFlag t);
protected AVExtendedNoteOnEvent (IntPtr handle);
public AVExtendedNoteOnEvent (float midiNote, float velocity, uint groupID, double duration);
public AVExtendedNoteOnEvent (float midiNote, float velocity, uint instrumentID, uint groupID, double duration);
// properties
public override IntPtr ClassHandle { get; }
public static uint DefaultInstrument { get; }
public virtual double Duration { get; set; }
public virtual uint GroupId { get; set; }
public virtual uint InstrumentId { get; set; }
public virtual float MidiNote { get; set; }
public virtual float Velocity { get; set; }
}
public class AVExtendedTempoEvent : AVFoundation.AVMusicEvent {
// constructors
public AVExtendedTempoEvent ();
protected AVExtendedTempoEvent (Foundation.NSObjectFlag t);
public AVExtendedTempoEvent (double tempo);
protected AVExtendedTempoEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual double Tempo { get; set; }
}
public class AVMidiChannelEvent : AVFoundation.AVMusicEvent {
// constructors
public AVMidiChannelEvent ();
protected AVMidiChannelEvent (Foundation.NSObjectFlag t);
protected AVMidiChannelEvent (IntPtr handle);
// properties
public virtual uint Channel { get; set; }
public override IntPtr ClassHandle { get; }
}
public class AVMidiChannelPressureEvent : AVFoundation.AVMidiChannelEvent {
// constructors
public AVMidiChannelPressureEvent ();
protected AVMidiChannelPressureEvent (Foundation.NSObjectFlag t);
protected AVMidiChannelPressureEvent (IntPtr handle);
public AVMidiChannelPressureEvent (uint channel, uint pressure);
// properties
public override IntPtr ClassHandle { get; }
public virtual uint Pressure { get; set; }
}
public class AVMidiControlChangeEvent : AVFoundation.AVMidiChannelEvent {
// constructors
public AVMidiControlChangeEvent ();
protected AVMidiControlChangeEvent (Foundation.NSObjectFlag t);
protected AVMidiControlChangeEvent (IntPtr handle);
public AVMidiControlChangeEvent (uint channel, AVMidiControlChangeMessageType messageType, uint value);
// properties
public override IntPtr ClassHandle { get; }
public virtual AVMidiControlChangeMessageType MessageType { get; }
public virtual uint Value { get; }
}
[Serializable]
public enum AVMidiControlChangeMessageType {
AllNotesOff = 123,
AllSoundOff = 120,
AttackTime = 73,
Balance = 8,
BankSelect = 0,
Breath = 2,
Brightness = 74,
ChorusLevel = 93,
DataEntry = 6,
DecayTime = 75,
Expression = 11,
FilterResonance = 71,
Foot = 4,
Hold2Pedal = 69,
LegatoPedal = 68,
ModWheel = 1,
MonoModeOff = 127,
MonoModeOn = 126,
OmniModeOff = 124,
OmniModeOn = 125,
Pan = 10,
Portamento = 65,
PortamentoTime = 5,
ReleaseTime = 72,
ResetAllControllers = 121,
ReverbLevel = 91,
RpnLsb = 100,
RpnMsb = 101,
Soft = 67,
Sostenuto = 66,
Sustain = 64,
VibratoDelay = 78,
VibratoDepth = 77,
VibratoRate = 76,
Volume = 7,
}
public class AVMidiMetaEvent : AVFoundation.AVMusicEvent {
// constructors
public AVMidiMetaEvent ();
protected AVMidiMetaEvent (Foundation.NSObjectFlag t);
protected AVMidiMetaEvent (IntPtr handle);
public AVMidiMetaEvent (AVMidiMetaEventType type, Foundation.NSData data);
// properties
public override IntPtr ClassHandle { get; }
public virtual AVMidiMetaEventType Type { get; }
}
[Serializable]
public enum AVMidiMetaEventType {
Copyright = 2,
CuePoint = 7,
EndOfTrack = 47,
Instrument = 4,
KeySignature = 89,
Lyric = 5,
Marker = 6,
MidiChannel = 32,
MidiPort = 33,
ProprietaryEvent = 127,
SequenceNumber = 0,
SmpteOffset = 84,
Tempo = 81,
Text = 1,
TimeSignature = 88,
TrackName = 3,
}
public class AVMidiNoteEvent : AVFoundation.AVMusicEvent {
// constructors
public AVMidiNoteEvent ();
protected AVMidiNoteEvent (Foundation.NSObjectFlag t);
protected AVMidiNoteEvent (IntPtr handle);
public AVMidiNoteEvent (uint channel, uint keyNum, uint velocity, double duration);
// properties
public virtual uint Channel { get; set; }
public override IntPtr ClassHandle { get; }
public virtual double Duration { get; set; }
public virtual uint Key { get; set; }
public virtual uint Velocity { get; set; }
}
public class AVMidiPitchBendEvent : AVFoundation.AVMidiChannelEvent {
// constructors
public AVMidiPitchBendEvent ();
protected AVMidiPitchBendEvent (Foundation.NSObjectFlag t);
protected AVMidiPitchBendEvent (IntPtr handle);
public AVMidiPitchBendEvent (uint channel, uint value);
// properties
public override IntPtr ClassHandle { get; }
public virtual uint Value { get; set; }
}
public class AVMidiPolyPressureEvent : AVFoundation.AVMidiChannelEvent {
// constructors
public AVMidiPolyPressureEvent ();
protected AVMidiPolyPressureEvent (Foundation.NSObjectFlag t);
protected AVMidiPolyPressureEvent (IntPtr handle);
public AVMidiPolyPressureEvent (uint channel, uint key, uint pressure);
// properties
public override IntPtr ClassHandle { get; }
public virtual uint Key { get; set; }
public virtual uint Pressure { get; set; }
}
public class AVMidiProgramChangeEvent : AVFoundation.AVMidiChannelEvent {
// constructors
public AVMidiProgramChangeEvent ();
protected AVMidiProgramChangeEvent (Foundation.NSObjectFlag t);
protected AVMidiProgramChangeEvent (IntPtr handle);
public AVMidiProgramChangeEvent (uint channel, uint programNumber);
// properties
public override IntPtr ClassHandle { get; }
public virtual uint ProgramNumber { get; set; }
}
public class AVMidiSysexEvent : AVFoundation.AVMusicEvent {
// constructors
public AVMidiSysexEvent ();
public AVMidiSysexEvent (Foundation.NSData data);
protected AVMidiSysexEvent (Foundation.NSObjectFlag t);
protected AVMidiSysexEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual uint SizeInBytes { get; }
}
public class AVMusicEvent : Foundation.NSObject {
// constructors
public AVMusicEvent ();
protected AVMusicEvent (Foundation.NSObjectFlag t);
protected AVMusicEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
}
public sealed delegate AVMusicEventEnumerationBlock : System.MulticastDelegate {
// constructors
public AVMusicEventEnumerationBlock (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (AVMusicEvent musicEvent, ref double timeStamp, out bool removeEvent, System.AsyncCallback callback, object object);
public virtual void EndInvoke (ref double timeStamp, out bool removeEvent, System.IAsyncResult result);
public virtual void Invoke (AVMusicEvent musicEvent, ref double timeStamp, out bool removeEvent);
}
public class AVMusicUserEvent : AVFoundation.AVMusicEvent {
// constructors
public AVMusicUserEvent ();
public AVMusicUserEvent (Foundation.NSData data);
protected AVMusicUserEvent (Foundation.NSObjectFlag t);
protected AVMusicUserEvent (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual uint SizeInBytes { get; }
}
public static class AVMutableMovieTrack_SynchronousTrackInterface {
// methods
public static AVAssetTrack[] GetAssociatedTracks (this AVMutableMovieTrack This, Foundation.NSString avAssetTrackTrackAssociationType);
public static AVMetadataItem[] GetMetadata (this AVMutableMovieTrack This, AVMetadataFormat format);
public static AVMetadataItem[] GetMetadataForFormat (this AVMutableMovieTrack This, Foundation.NSString format);
public static CoreMedia.CMTime GetSamplePresentationTime (this AVMutableMovieTrack This, CoreMedia.CMTime trackTime);
public static AVAssetTrackSegment GetSegment (this AVMutableMovieTrack This, CoreMedia.CMTime trackTime);
public static bool HasMediaCharacteristic (this AVMutableMovieTrack This, string mediaCharacteristic);
}
public static class AVMutableMovie_SynchronousAssetInterface {
// methods
public static AVTimedMetadataGroup[] GetChapterMetadataGroups (this AVMutableMovie This, Foundation.NSLocale locale, string[] commonKeys);
public static AVTimedMetadataGroup[] GetChapterMetadataGroupsBestMatchingPreferredLanguages (this AVMutableMovie This, string[] preferredLanguages);
public static AVMediaSelectionGroup GetMediaSelectionGroup (this AVMutableMovie This, string mediaCharacteristic);
public static AVMetadataItem[] GetMetadataForFormat (this AVMutableMovie This, string format);
public static int GetUnusedTrackId (this AVMutableMovie This);
}
public class AVParameterEvent : AVFoundation.AVMusicEvent {
// constructors
public AVParameterEvent ();
protected AVParameterEvent (Foundation.NSObjectFlag t);
protected AVParameterEvent (IntPtr handle);
public AVParameterEvent (uint parameterId, uint scope, uint element, float value);
// properties
public override IntPtr ClassHandle { get; }
public virtual uint Element { get; set; }
public virtual uint ParameterId { get; set; }
public virtual uint Scope { get; set; }
public virtual float Value { get; set; }
}
[Serializable]
public enum AVPlayerInterstitialEventCue {
JoinCue = 1,
LeaveCue = 2,
NoCue = 0,
}
public static class AVPlayerInterstitialEventCueExtensions {
// methods
public static Foundation.NSString GetConstant (this AVPlayerInterstitialEventCue self);
public static AVPlayerInterstitialEventCue GetValue (Foundation.NSString constant);
}
public class AVSampleBufferGenerator : Foundation.NSObject {
// constructors
protected AVSampleBufferGenerator (Foundation.NSObjectFlag t);
protected AVSampleBufferGenerator (IntPtr handle);
public AVSampleBufferGenerator (AVAsset asset, CoreMedia.CMTimebase timebase);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual CoreMedia.CMSampleBuffer CreateSample (AVSampleBufferRequest request, AVSampleBufferGeneratorBatch batch, out Foundation.NSError outError);
public virtual CoreMedia.CMSampleBuffer CreateSampleBuffer (AVSampleBufferRequest request);
public virtual CoreMedia.CMSampleBuffer CreateSampleBuffer (AVSampleBufferRequest request, out Foundation.NSError outError);
public virtual AVSampleBufferGeneratorBatch MakeBatch ();
public static void NotifyOfDataReady (CoreMedia.CMSampleBuffer sbuf, System.Action<System.Boolean,Foundation.NSError> completionHandler);
public static System.Threading.Tasks.Task<System.Tuple<System.Boolean,Foundation.NSError>> NotifyOfDataReadyAsync (CoreMedia.CMSampleBuffer sbuf);
}
public class AVSampleBufferGeneratorBatch : Foundation.NSObject {
// constructors
protected AVSampleBufferGeneratorBatch (Foundation.NSObjectFlag t);
protected AVSampleBufferGeneratorBatch (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
// methods
public virtual void Cancel ();
public virtual CoreMedia.CMSampleBuffer CreateSampleBuffer (AVSampleBufferRequest request, out Foundation.NSError outError);
public virtual CoreMedia.CMSampleBuffer CreateSampleBuffer (AVSampleBufferRequest request, AVSampleBufferGeneratorBatch batch, out Foundation.NSError outError);
public virtual AVSampleBufferGeneratorBatch MakeBatch ();
public virtual void MakeDataReady (System.Action<Foundation.NSError> completionHandler);
public virtual System.Threading.Tasks.Task MakeDataReadyAsync ();
}
public class AVSampleBufferRequest : Foundation.NSObject {
// constructors
public AVSampleBufferRequest (AVSampleCursor startCursor);
protected AVSampleBufferRequest (Foundation.NSObjectFlag t);
protected AVSampleBufferRequest (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual AVSampleBufferRequestDirection Direction { get; set; }
public virtual AVSampleCursor LimitCursor { get; set; }
public virtual nint MaxSampleCount { get; set; }
public virtual AVSampleBufferRequestMode Mode { get; set; }
public virtual CoreMedia.CMTime OverrideTime { get; set; }
public virtual nint PreferredMinSampleCount { get; set; }
public virtual AVSampleCursor StartCursor { get; }
}
public class AVSampleCursor : Foundation.NSObject, Foundation.INSCopying, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
protected AVSampleCursor (Foundation.NSObjectFlag t);
protected AVSampleCursor (IntPtr handle);
// properties
public override IntPtr ClassHandle { get; }
public virtual AVSampleCursorChunkInfo CurrentChunkInfo { get; }
public virtual AVSampleCursorStorageRange CurrentChunkStorageRange { get; }
public virtual Foundation.NSUrl CurrentChunkStorageUrl { get; }
public virtual AVSampleCursorAudioDependencyInfo CurrentSampleAudioDependencyInfo { get; }
public virtual Foundation.NSDictionary CurrentSampleDependencyAttachments { get; }
public virtual AVSampleCursorSyncInfo CurrentSampleDependencyInfo { get; }
public virtual CoreMedia.CMTime CurrentSampleDuration { get; }
public virtual long CurrentSampleIndexInChunk { get; }
public virtual AVSampleCursorStorageRange CurrentSampleStorageRange { get; }
public virtual AVSampleCursorSyncInfo CurrentSampleSyncInfo { get; }
public virtual CoreMedia.CMTime DecodeTimeStamp { get; }
public virtual CoreMedia.CMTime PresentationTimeStamp { get; }
public virtual nint SamplesRequiredForDecoderRefresh { get; }
// methods
public virtual Foundation.NSComparisonResult ComparePositionInDecodeOrder (AVSampleCursor positionOfCursor);
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual CoreMedia.CMFormatDescription CopyCurrentSampleFormatDescription ();
public virtual bool SamplesWithEarlierDecodeTimeStampsMayHaveLaterPresentationTimeStampsThan (AVSampleCursor positionOfCursor);
public virtual bool SamplesWithLaterDecodeTimeStampsMayHaveEarlierPresentationTimeStampsThan (AVSampleCursor positionOfCursor);
public virtual CoreMedia.CMTime StepByDecodeTime (CoreMedia.CMTime deltaDecodeTime, out bool wasPinned);
public virtual CoreMedia.CMTime StepByPresentationTime (CoreMedia.CMTime deltaPresentationTime, out bool wasPinned);
public virtual long StepInDecodeOrder (long stepCount);
public virtual long StepInPresentationOrder (long stepCount);
}
public struct AVSampleCursorAudioDependencyInfo {
// fields
public bool IsIndependentlyDecodable;
public nint PacketRefreshCount;
}
public class AVSpeechSynthesisMarker : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public AVSpeechSynthesisMarker ();
public AVSpeechSynthesisMarker (Foundation.NSCoder coder);
protected AVSpeechSynthesisMarker (Foundation.NSObjectFlag t);
protected AVSpeechSynthesisMarker (IntPtr handle);
public AVSpeechSynthesisMarker (AVSpeechSynthesisMarkerMark type, Foundation.NSRange range, nuint byteSampleOffset);
// properties
public virtual nuint ByteSampleOffset { get; set; }
public override IntPtr ClassHandle { get; }
public virtual AVSpeechSynthesisMarkerMark Mark { get; set; }
public virtual Foundation.NSRange TextRange { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
[Serializable]
public enum AVSpeechSynthesisMarkerMark {
Paragraph = 3,
Phoneme = 0,
Sentence = 2,
Word = 1,
}
public class AVSpeechSynthesisProviderAudioUnit : AudioUnit.AUAudioUnit {
// constructors
protected AVSpeechSynthesisProviderAudioUnit (Foundation.NSObjectFlag t);
protected AVSpeechSynthesisProviderAudioUnit (IntPtr handle);
public AVSpeechSynthesisProviderAudioUnit (AudioUnit.AudioComponentDescription componentDescription, out Foundation.NSError outError);
public AVSpeechSynthesisProviderAudioUnit (AudioUnit.AudioComponentDescription componentDescription, AudioUnit.AudioComponentInstantiationOptions options, out Foundation.NSError outError);
// properties
public override IntPtr ClassHandle { get; }
public virtual AVSpeechSynthesisProviderOutputBlock SpeechSynthesisOutputMetadataBlock { get; set; }
public virtual AVSpeechSynthesisProviderVoice[] SpeechVoices { get; set; }
// methods
public virtual void CancelSpeechRequest ();
public virtual void SynthesizeSpeechRequest (AVSpeechSynthesisProviderRequest speechRequest);
}
public sealed delegate AVSpeechSynthesisProviderOutputBlock : System.MulticastDelegate {
// constructors
public AVSpeechSynthesisProviderOutputBlock (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (AVSpeechSynthesisMarker[] markers, AVSpeechSynthesisProviderRequest speechRequest, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (AVSpeechSynthesisMarker[] markers, AVSpeechSynthesisProviderRequest speechRequest);
}
public class AVSpeechSynthesisProviderRequest : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public AVSpeechSynthesisProviderRequest (Foundation.NSCoder coder);
protected AVSpeechSynthesisProviderRequest (Foundation.NSObjectFlag t);
protected AVSpeechSynthesisProviderRequest (IntPtr handle);
public AVSpeechSynthesisProviderRequest (string text, AVSpeechSynthesisProviderVoice voice);
// properties
public override IntPtr ClassHandle { get; }
public virtual string SsmlRepresentation { get; }
public virtual AVSpeechSynthesisProviderVoice Voice { get; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
}
public class AVSpeechSynthesisProviderVoice : Foundation.NSObject, Foundation.INSCoding, Foundation.INSCopying, Foundation.INSSecureCoding, ObjCRuntime.INativeObject, System.IDisposable {
// constructors
public AVSpeechSynthesisProviderVoice (Foundation.NSCoder coder);
protected AVSpeechSynthesisProviderVoice (Foundation.NSObjectFlag t);
protected AVSpeechSynthesisProviderVoice (IntPtr handle);
public AVSpeechSynthesisProviderVoice (string name, string identifier, string[] primaryLanguages, string[] supportedLanguages);
// properties
public virtual nint Age { get; set; }
public override IntPtr ClassHandle { get; }
public virtual AVSpeechSynthesisVoiceGender Gender { get; set; }
public virtual string Identifier { get; }
public virtual string Name { get; }
public virtual string[] PrimaryLanguages { get; }
public virtual string[] SupportedLanguages { get; }
public virtual string Version { get; set; }
public virtual long VoiceSize { get; set; }
// methods
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
public virtual void EncodeTo (Foundation.NSCoder encoder);
public static void UpdateSpeechVoices ();
}
public sealed delegate AVSpeechSynthesizerBufferCallback : System.MulticastDelegate {
// constructors
public AVSpeechSynthesizerBufferCallback (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (AVAudioBuffer buffer, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (AVAudioBuffer buffer);
}
public sealed delegate AVSpeechSynthesizerMarkerCallback : System.MulticastDelegate {
// constructors
public AVSpeechSynthesizerMarkerCallback (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (AVSpeechSynthesisMarker[] markers, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (AVSpeechSynthesisMarker[] markers);
}
public class GenerateCGImageAsyncResult {
// constructors
public GenerateCGImageAsyncResult (CoreGraphics.CGImage arg1, CoreMedia.CMTime arg2);
// properties
public CoreGraphics.CGImage Arg1 { get; set; }
public CoreMedia.CMTime Arg2 { get; set; }
}
public struct MidiEventList {
// fields
public uint NumPackets;
public MidiEventPacket[] packet;
public MidiProtocolId protocol;
}
public struct MidiEventPacket {
// fields
public ulong TimeStamp;
public uint WordCount;
public uint[] Words;
}
Added property:
public virtual CoreMedia.CMVideoDimensions CMVideoDimensionsValue { get; }
Added method:
public static NSValue FromCMVideoDimensions (CoreMedia.CMVideoDimensions dimensions);