IARSKViewDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol ARSKViewDelegate.

[Foundation.Protocol(Name="ARSKViewDelegate", WrapperType=typeof(ARKit.ARSKViewDelegateWrapper))]
[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 IARSKViewDelegate : ARKit.IARSessionObserver, IDisposable, SpriteKit.ISKViewDelegate
type IARSKViewDelegate = interface
    interface INativeObject
    interface IDisposable
    interface IARSessionObserver
    interface ISKViewDelegate
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by ARSKViewDelegate.

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 ARSKViewDelegate protocol.

Optional methods (if any) are provided by the ARSKViewDelegate_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

CameraDidChangeTrackingState(IARSessionObserver, ARSession, ARCamera)

Called when the TrackingState changes, indicating a change in tracking quality.

DidFail(IARSessionObserver, ARSession, NSError)

Called when the session stops running due to an error.

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.

DidAddNode(IARSKViewDelegate, ARSKView, SKNode, ARAnchor)

Developers may override this method to react to the adding of a SKNode that corresponds to a new ARAnchor.

DidRemoveNode(IARSKViewDelegate, ARSKView, SKNode, ARAnchor)

Developers may override this method to react to the removal of node, which was removed after anchor was removed.

DidUpdateNode(IARSKViewDelegate, ARSKView, SKNode, ARAnchor)

This method is called shortly after node has been updated to reflect the current state of anchor.

GetNode(IARSKViewDelegate, ARSKView, ARAnchor)

Retrieves the SKNode corresponding to the specified anchor. If no corresponding node exists, returns null.

WillUpdateNode(IARSKViewDelegate, ARSKView, SKNode, ARAnchor)

This method is called shortly before the properties of node are updated to reflect the state of anchor.

ShouldRender(ISKViewDelegate, SKView, Double)

Applies to