다음을 통해 공유


AVAudioPlayerNode.ScheduleFileAsync 메서드

정의

오버로드

ScheduleFileAsync(AVAudioFile, AVAudioTime)
ScheduleFileAsync(AVAudioFile, AVAudioTime, AVAudioPlayerNodeCompletionCallbackType)

ScheduleFileAsync(AVAudioFile, AVAudioTime)

public virtual System.Threading.Tasks.Task ScheduleFileAsync (AVFoundation.AVAudioFile file, AVFoundation.AVAudioTime when);
abstract member ScheduleFileAsync : AVFoundation.AVAudioFile * AVFoundation.AVAudioTime -> System.Threading.Tasks.Task
override this.ScheduleFileAsync : AVFoundation.AVAudioFile * AVFoundation.AVAudioTime -> System.Threading.Tasks.Task

매개 변수

when
AVAudioTime

추가할 입니다. 이 매개 변수는 일 수 있습니다.

반환

비동기 ScheduleFile 작업을 나타내는 작업

적용 대상

ScheduleFileAsync(AVAudioFile, 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> ScheduleFileAsync (AVFoundation.AVAudioFile file, AVFoundation.AVAudioTime when, AVFoundation.AVAudioPlayerNodeCompletionCallbackType callbackType);
abstract member ScheduleFileAsync : AVFoundation.AVAudioFile * AVFoundation.AVAudioTime * AVFoundation.AVAudioPlayerNodeCompletionCallbackType -> System.Threading.Tasks.Task<AVFoundation.AVAudioPlayerNodeCompletionCallbackType>
override this.ScheduleFileAsync : AVFoundation.AVAudioFile * AVFoundation.AVAudioTime * AVFoundation.AVAudioPlayerNodeCompletionCallbackType -> System.Threading.Tasks.Task<AVFoundation.AVAudioPlayerNodeCompletionCallbackType>

매개 변수

반환

특성

적용 대상