Edit

Share via


ARSKViewDelegate.DidOutputAudioSampleBuffer(ARSession, CMSampleBuffer) Method

Definition

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

Applies to