AVAudioPlayerNode.ScheduleBufferAsync 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
ScheduleBufferAsync(AVAudioPcmBuffer)
public virtual System.Threading.Tasks.Task ScheduleBufferAsync (AVFoundation.AVAudioPcmBuffer buffer);
abstract member ScheduleBufferAsync : AVFoundation.AVAudioPcmBuffer -> System.Threading.Tasks.Task
override this.ScheduleBufferAsync : AVFoundation.AVAudioPcmBuffer -> System.Threading.Tasks.Task
매개 변수
- buffer
- AVAudioPcmBuffer
재생할 버퍼입니다.
반환
비동기 ScheduleBuffer 작업을 나타내는 작업
적용 대상
ScheduleBufferAsync(AVAudioPcmBuffer, 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> ScheduleBufferAsync (AVFoundation.AVAudioPcmBuffer buffer, AVFoundation.AVAudioPlayerNodeCompletionCallbackType callbackType);
abstract member ScheduleBufferAsync : AVFoundation.AVAudioPcmBuffer * AVFoundation.AVAudioPlayerNodeCompletionCallbackType -> System.Threading.Tasks.Task<AVFoundation.AVAudioPlayerNodeCompletionCallbackType>
override this.ScheduleBufferAsync : AVFoundation.AVAudioPcmBuffer * AVFoundation.AVAudioPlayerNodeCompletionCallbackType -> System.Threading.Tasks.Task<AVFoundation.AVAudioPlayerNodeCompletionCallbackType>
매개 변수
- buffer
- AVAudioPcmBuffer
재생할 버퍼입니다.
- callbackType
- AVAudioPlayerNodeCompletionCallbackType
재생 수명 주기에서 콜백을 호출하는 경우
반환
- 특성
적용 대상
ScheduleBufferAsync(AVAudioPcmBuffer, AVAudioTime, AVAudioPlayerNodeBufferOptions)
에서 재생 buffer
을 비동기적으로 예약하여 성공 또는 실패를 나타내는 작업을 반환합니다.
public virtual System.Threading.Tasks.Task ScheduleBufferAsync (AVFoundation.AVAudioPcmBuffer buffer, AVFoundation.AVAudioTime when, AVFoundation.AVAudioPlayerNodeBufferOptions options);
abstract member ScheduleBufferAsync : AVFoundation.AVAudioPcmBuffer * AVFoundation.AVAudioTime * AVFoundation.AVAudioPlayerNodeBufferOptions -> System.Threading.Tasks.Task
override this.ScheduleBufferAsync : AVFoundation.AVAudioPcmBuffer * AVFoundation.AVAudioTime * AVFoundation.AVAudioPlayerNodeBufferOptions -> System.Threading.Tasks.Task
매개 변수
- buffer
- AVAudioPcmBuffer
재생할 버퍼입니다.
- when
- AVAudioTime
버퍼를 재생할 시간입니다. null
일 수 있습니다.
- options
- AVAudioPlayerNodeBufferOptions
재생 옵션(예: 우선 순위 또는 재생 반복 여부)
반환
적용 대상
ScheduleBufferAsync(AVAudioPcmBuffer, AVAudioTime, AVAudioPlayerNodeBufferOptions, 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> ScheduleBufferAsync (AVFoundation.AVAudioPcmBuffer buffer, AVFoundation.AVAudioTime when, AVFoundation.AVAudioPlayerNodeBufferOptions options, AVFoundation.AVAudioPlayerNodeCompletionCallbackType callbackType);
abstract member ScheduleBufferAsync : AVFoundation.AVAudioPcmBuffer * AVFoundation.AVAudioTime * AVFoundation.AVAudioPlayerNodeBufferOptions * AVFoundation.AVAudioPlayerNodeCompletionCallbackType -> System.Threading.Tasks.Task<AVFoundation.AVAudioPlayerNodeCompletionCallbackType>
override this.ScheduleBufferAsync : AVFoundation.AVAudioPcmBuffer * AVFoundation.AVAudioTime * AVFoundation.AVAudioPlayerNodeBufferOptions * AVFoundation.AVAudioPlayerNodeCompletionCallbackType -> System.Threading.Tasks.Task<AVFoundation.AVAudioPlayerNodeCompletionCallbackType>
매개 변수
- buffer
- AVAudioPcmBuffer
재생할 버퍼입니다.
- when
- AVAudioTime
버퍼를 재생할 시간입니다. null
일 수 있습니다.
- options
- AVAudioPlayerNodeBufferOptions
재생 옵션(예: 우선 순위 또는 재생 반복 여부)
- callbackType
- AVAudioPlayerNodeCompletionCallbackType
재생 수명 주기에서 콜백을 호출하는 경우
반환
- 특성