ARSessionDelegate.DidOutputAudioSampleBuffer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Developers may override this method that is called shortly after an audio buffer has been played.
[Foundation.Export("session:didOutputAudioSampleBuffer:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidOutputAudioSampleBuffer (ARKit.ARSession session, CoreMedia.CMSampleBuffer audioSampleBuffer);
abstract member DidOutputAudioSampleBuffer : ARKit.ARSession * CoreMedia.CMSampleBuffer -> unit
override this.DidOutputAudioSampleBuffer : ARKit.ARSession * CoreMedia.CMSampleBuffer -> unit
Parameters
- session
- ARSession
The session that is supplying the information for the event.
- audioSampleBuffer
- CMSampleBuffer
The audio buffer that was played.
- Attributes