AVAudioPlayerNode.ScheduleFileAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
- file
- AVAudioFile
- 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>
参数
- file
- AVAudioFile
- when
- AVAudioTime
- callbackType
- AVAudioPlayerNodeCompletionCallbackType
返回
- 属性