AVAudioPlayerNode.ScheduleBuffer Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
ScheduleBuffer(AVAudioPcmBuffer, Action)
Pianifica la riproduzione da buffer
.
[Foundation.Export("scheduleBuffer:completionHandler:")]
public virtual void ScheduleBuffer (AVFoundation.AVAudioPcmBuffer buffer, Action completionHandler);
abstract member ScheduleBuffer : AVFoundation.AVAudioPcmBuffer * Action -> unit
override this.ScheduleBuffer : AVFoundation.AVAudioPcmBuffer * Action -> unit
Parametri
- buffer
- AVAudioPcmBuffer
- Attributi
Si applica a
ScheduleBuffer(AVAudioPcmBuffer, AVAudioPlayerNodeCompletionCallbackType, Action<AVAudioPlayerNodeCompletionCallbackType>)
[Foundation.Export("scheduleBuffer: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 ScheduleBuffer (AVFoundation.AVAudioPcmBuffer buffer, AVFoundation.AVAudioPlayerNodeCompletionCallbackType callbackType, Action<AVFoundation.AVAudioPlayerNodeCompletionCallbackType> completionHandler);
abstract member ScheduleBuffer : AVFoundation.AVAudioPcmBuffer * AVFoundation.AVAudioPlayerNodeCompletionCallbackType * Action<AVFoundation.AVAudioPlayerNodeCompletionCallbackType> -> unit
override this.ScheduleBuffer : AVFoundation.AVAudioPcmBuffer * AVFoundation.AVAudioPlayerNodeCompletionCallbackType * Action<AVFoundation.AVAudioPlayerNodeCompletionCallbackType> -> unit
Parametri
- buffer
- AVAudioPcmBuffer
- callbackType
- AVAudioPlayerNodeCompletionCallbackType
- completionHandler
- Action<AVAudioPlayerNodeCompletionCallbackType>
Da aggiungere.
Questo parametro può essere null
.
- Attributi
Si applica a
ScheduleBuffer(AVAudioPcmBuffer, AVAudioTime, AVAudioPlayerNodeBufferOptions, Action)
Pianifica la riproduzione da buffer
.
[Foundation.Export("scheduleBuffer:atTime:options:completionHandler:")]
public virtual void ScheduleBuffer (AVFoundation.AVAudioPcmBuffer buffer, AVFoundation.AVAudioTime when, AVFoundation.AVAudioPlayerNodeBufferOptions options, Action completionHandler);
abstract member ScheduleBuffer : AVFoundation.AVAudioPcmBuffer * AVFoundation.AVAudioTime * AVFoundation.AVAudioPlayerNodeBufferOptions * Action -> unit
override this.ScheduleBuffer : AVFoundation.AVAudioPcmBuffer * AVFoundation.AVAudioTime * AVFoundation.AVAudioPlayerNodeBufferOptions * Action -> unit
Parametri
- buffer
- AVAudioPcmBuffer
- options
- AVAudioPlayerNodeBufferOptions
- Attributi
Si applica a
ScheduleBuffer(AVAudioPcmBuffer, AVAudioTime, AVAudioPlayerNodeBufferOptions, AVAudioPlayerNodeCompletionCallbackType, Action<AVAudioPlayerNodeCompletionCallbackType>)
[Foundation.Export("scheduleBuffer:atTime:options: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 ScheduleBuffer (AVFoundation.AVAudioPcmBuffer buffer, AVFoundation.AVAudioTime when, AVFoundation.AVAudioPlayerNodeBufferOptions options, AVFoundation.AVAudioPlayerNodeCompletionCallbackType callbackType, Action<AVFoundation.AVAudioPlayerNodeCompletionCallbackType> completionHandler);
abstract member ScheduleBuffer : AVFoundation.AVAudioPcmBuffer * AVFoundation.AVAudioTime * AVFoundation.AVAudioPlayerNodeBufferOptions * AVFoundation.AVAudioPlayerNodeCompletionCallbackType * Action<AVFoundation.AVAudioPlayerNodeCompletionCallbackType> -> unit
override this.ScheduleBuffer : AVFoundation.AVAudioPcmBuffer * AVFoundation.AVAudioTime * AVFoundation.AVAudioPlayerNodeBufferOptions * AVFoundation.AVAudioPlayerNodeCompletionCallbackType * Action<AVFoundation.AVAudioPlayerNodeCompletionCallbackType> -> unit
Parametri
- buffer
- AVAudioPcmBuffer
Buffer da riprodurre.
- options
- AVAudioPlayerNodeBufferOptions
Opzioni di riproduzione, ad esempio priorità o se eseguire il ciclo della riproduzione.
- callbackType
- AVAudioPlayerNodeCompletionCallbackType
Quando chiamare il callback nel ciclo di vita della riproduzione.
- completionHandler
- Action<AVAudioPlayerNodeCompletionCallbackType>
Gestore da chiamare durante il ciclo di vita della riproduzione. Può essere null
.
Questo parametro può essere null
.
- Attributi