Bearbeiten

Freigeben über


AVAudioPlayerNode.ScheduleSegmentAsync Method

Definition

Overloads

ScheduleSegmentAsync(AVAudioFile, Int64, UInt32, AVAudioTime)
ScheduleSegmentAsync(AVAudioFile, Int64, UInt32, AVAudioTime, AVAudioPlayerNodeCompletionCallbackType)

ScheduleSegmentAsync(AVAudioFile, Int64, UInt32, AVAudioTime)

public virtual System.Threading.Tasks.Task ScheduleSegmentAsync (AVFoundation.AVAudioFile file, long startFrame, uint numberFrames, AVFoundation.AVAudioTime when);
abstract member ScheduleSegmentAsync : AVFoundation.AVAudioFile * int64 * uint32 * AVFoundation.AVAudioTime -> System.Threading.Tasks.Task
override this.ScheduleSegmentAsync : AVFoundation.AVAudioFile * int64 * uint32 * AVFoundation.AVAudioTime -> System.Threading.Tasks.Task

Parameters

startFrame
Int64
numberFrames
UInt32
when
AVAudioTime

To be added.This parameter can be .

Returns

A task that represents the asynchronous ScheduleSegment operation

Remarks

The ScheduleSegmentAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to

ScheduleSegmentAsync(AVAudioFile, Int64, UInt32, AVAudioTime, AVAudioPlayerNodeCompletionCallbackType)

[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 System.Threading.Tasks.Task<AVFoundation.AVAudioPlayerNodeCompletionCallbackType> ScheduleSegmentAsync (AVFoundation.AVAudioFile file, long startFrame, uint numberFrames, AVFoundation.AVAudioTime when, AVFoundation.AVAudioPlayerNodeCompletionCallbackType callbackType);
abstract member ScheduleSegmentAsync : AVFoundation.AVAudioFile * int64 * uint32 * AVFoundation.AVAudioTime * AVFoundation.AVAudioPlayerNodeCompletionCallbackType -> System.Threading.Tasks.Task<AVFoundation.AVAudioPlayerNodeCompletionCallbackType>
override this.ScheduleSegmentAsync : AVFoundation.AVAudioFile * int64 * uint32 * AVFoundation.AVAudioTime * AVFoundation.AVAudioPlayerNodeCompletionCallbackType -> System.Threading.Tasks.Task<AVFoundation.AVAudioPlayerNodeCompletionCallbackType>

Parameters

startFrame
Int64
numberFrames
UInt32

Returns

Attributes

Applies to