AVAudioPlayerNode.ScheduleFile Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
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
- completionHandler
- Action<AVAudioPlayerNodeCompletionCallbackType>
Будет добавлено.
Этот параметр может иметь значение null
.
- Атрибуты
Применяется к
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
- Атрибуты