IARSessionDelegate Interface
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.
Interface representing the required methods (if any) of the protocol ARSessionDelegate.
[Foundation.Protocol(Name="ARSessionDelegate", WrapperType=typeof(ARKit.ARSessionDelegateWrapper))]
[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 interface IARSessionDelegate : ARKit.IARSessionObserver, IDisposable
type IARSessionDelegate = interface
interface INativeObject
interface IDisposable
interface IARSessionObserver
- Derived
- Attributes
- Implements
Remarks
This interface contains the required methods (if any) from the protocol defined by ARSessionDelegate.
If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the ARSessionDelegate protocol.
Optional methods (if any) are provided by the ARSessionDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.
Properties
Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Extension Methods
DidAddAnchors(IARSessionDelegate, ARSession, ARAnchor[]) |
Called when |
DidRemoveAnchors(IARSessionDelegate, ARSession, ARAnchor[]) |
Called when |
DidUpdateAnchors(IARSessionDelegate, ARSession, ARAnchor[]) |
Indicates that |
DidUpdateFrame(IARSessionDelegate, ARSession, ARFrame) |
Indicates that |
CameraDidChangeTrackingState(IARSessionObserver, ARSession, ARCamera) |
Called when the TrackingState changes, indicating a change in tracking quality. |
DidFail(IARSessionObserver, ARSession, NSError) |
Called when the |
DidOutputAudioSampleBuffer(IARSessionObserver, ARSession, CMSampleBuffer) |
Developers may implement this method that is called shortly after an audio buffer has been played. |
InterruptionEnded(IARSessionObserver, ARSession) |
Developers may override this method to begin frame processing and device tracking after an interruption. |
ShouldAttemptRelocalization(IARSessionObserver, ARSession) |
Returns a Boolean value that tells whether the session should attempt to reorient after an interruption. |
WasInterrupted(IARSessionObserver, ARSession) |
Developers may override this method to stop frame processing and device tracking when an interruption occurs. |