次の方法で共有


AVAudioPlayerNode.ScheduleBuffer メソッド

定義

オーバーロード

ScheduleBuffer(AVAudioPcmBuffer, Action)

からの buffer再生をスケジュールします。

ScheduleBuffer(AVAudioPcmBuffer, AVAudioPlayerNodeCompletionCallbackType, Action<AVAudioPlayerNodeCompletionCallbackType>)
ScheduleBuffer(AVAudioPcmBuffer, AVAudioTime, AVAudioPlayerNodeBufferOptions, Action)

からの buffer再生をスケジュールします。

ScheduleBuffer(AVAudioPcmBuffer, AVAudioTime, AVAudioPlayerNodeBufferOptions, AVAudioPlayerNodeCompletionCallbackType, Action<AVAudioPlayerNodeCompletionCallbackType>)

ScheduleBuffer(AVAudioPcmBuffer, Action)

からの 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

パラメーター

completionHandler
Action

追加する。

このパラメーターは、null に設定できます。

属性

適用対象

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

パラメーター

completionHandler
Action<AVAudioPlayerNodeCompletionCallbackType>

追加する。

このパラメーターは、null に設定できます。

属性

適用対象

ScheduleBuffer(AVAudioPcmBuffer, AVAudioTime, AVAudioPlayerNodeBufferOptions, Action)

からの 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

パラメーター

when
AVAudioTime

追加する。

このパラメーターは、null に設定できます。

completionHandler
Action

追加する。

このパラメーターは、null に設定できます。

属性

適用対象

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

パラメーター

buffer
AVAudioPcmBuffer

再生するバッファー。

when
AVAudioTime

バッファーを再生する時刻。 null でもかまいません。

このパラメーターは、null に設定できます。

options
AVAudioPlayerNodeBufferOptions

再生オプション(優先度、再生をループするかどうかなど)。

callbackType
AVAudioPlayerNodeCompletionCallbackType

再生ライフ サイクルでコールバックを呼び出すタイミング。

completionHandler
Action<AVAudioPlayerNodeCompletionCallbackType>

再生ライフ サイクル中に呼び出すハンドラー。 null でもかまいません。

このパラメーターは、null に設定できます。

属性

適用対象