다음을 통해 공유


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일 수 있습니다.

특성

적용 대상