AVAudioPlayerNode.ScheduleFile 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ScheduleFile(AVAudioFile, AVAudioTime, AVAudioPlayerNodeCompletionCallbackType, Action<AVAudioPlayerNodeCompletionCallbackType>) | |
ScheduleFile(AVAudioFile, AVAudioTime, Action) |
排程所指定音訊 |
ScheduleFile(AVAudioFile, AVAudioTime, AVAudioPlayerNodeCompletionCallbackType, Action<AVAudioPlayerNodeCompletionCallbackType>)
[Foundation.Export("scheduleFile: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 ScheduleFile (AVFoundation.AVAudioFile file, AVFoundation.AVAudioTime when, AVFoundation.AVAudioPlayerNodeCompletionCallbackType callbackType, Action<AVFoundation.AVAudioPlayerNodeCompletionCallbackType> completionHandler);
abstract member ScheduleFile : AVFoundation.AVAudioFile * AVFoundation.AVAudioTime * AVFoundation.AVAudioPlayerNodeCompletionCallbackType * Action<AVFoundation.AVAudioPlayerNodeCompletionCallbackType> -> unit
override this.ScheduleFile : AVFoundation.AVAudioFile * AVFoundation.AVAudioTime * AVFoundation.AVAudioPlayerNodeCompletionCallbackType * Action<AVFoundation.AVAudioPlayerNodeCompletionCallbackType> -> unit
參數
- file
- AVAudioFile
- callbackType
- AVAudioPlayerNodeCompletionCallbackType
- 屬性
適用於
ScheduleFile(AVAudioFile, AVAudioTime, Action)
排程所指定音訊 file
的播放。
[Foundation.Export("scheduleFile:atTime:completionHandler:")]
public virtual void ScheduleFile (AVFoundation.AVAudioFile file, AVFoundation.AVAudioTime when, Action completionHandler);
abstract member ScheduleFile : AVFoundation.AVAudioFile * AVFoundation.AVAudioTime * Action -> unit
override this.ScheduleFile : AVFoundation.AVAudioFile * AVFoundation.AVAudioTime * Action -> unit
參數
- file
- AVAudioFile
- 屬性