AVAudioPlayerNode.ScheduleSegment Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ScheduleSegment(AVAudioFile, Int64, UInt32, AVAudioTime, Action) |
Schedules the playing of a portion of the audio |
ScheduleSegment(AVAudioFile, Int64, UInt32, AVAudioTime, AVAudioPlayerNodeCompletionCallbackType, Action<AVAudioPlayerNodeCompletionCallbackType>) |
ScheduleSegment(AVAudioFile, Int64, UInt32, AVAudioTime, Action)
Schedules the playing of a portion of the audio file
.
[Foundation.Export("scheduleSegment:startingFrame:frameCount:atTime:completionHandler:")]
public virtual void ScheduleSegment (AVFoundation.AVAudioFile file, long startFrame, uint numberFrames, AVFoundation.AVAudioTime when, Action completionHandler);
abstract member ScheduleSegment : AVFoundation.AVAudioFile * int64 * uint32 * AVFoundation.AVAudioTime * Action -> unit
override this.ScheduleSegment : AVFoundation.AVAudioFile * int64 * uint32 * AVFoundation.AVAudioTime * Action -> unit
Parameters
- file
- AVAudioFile
- startFrame
- Int64
- numberFrames
- UInt32
- Attributes
Applies to
ScheduleSegment(AVAudioFile, Int64, UInt32, AVAudioTime, AVAudioPlayerNodeCompletionCallbackType, Action<AVAudioPlayerNodeCompletionCallbackType>)
[Foundation.Export("scheduleSegment:startingFrame:frameCount:atTime:completionCallbackType:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ScheduleSegment (AVFoundation.AVAudioFile file, long startFrame, uint numberFrames, AVFoundation.AVAudioTime when, AVFoundation.AVAudioPlayerNodeCompletionCallbackType callbackType, Action<AVFoundation.AVAudioPlayerNodeCompletionCallbackType> completionHandler);
abstract member ScheduleSegment : AVFoundation.AVAudioFile * int64 * uint32 * AVFoundation.AVAudioTime * AVFoundation.AVAudioPlayerNodeCompletionCallbackType * Action<AVFoundation.AVAudioPlayerNodeCompletionCallbackType> -> unit
override this.ScheduleSegment : AVFoundation.AVAudioFile * int64 * uint32 * AVFoundation.AVAudioTime * AVFoundation.AVAudioPlayerNodeCompletionCallbackType * Action<AVFoundation.AVAudioPlayerNodeCompletionCallbackType> -> unit
Parameters
- file
- AVAudioFile
- startFrame
- Int64
- numberFrames
- UInt32
- callbackType
- AVAudioPlayerNodeCompletionCallbackType
- completionHandler
- Action<AVAudioPlayerNodeCompletionCallbackType>
To be added.
This parameter can be null
.
- Attributes