NativeData


public final class NativeData


Class containing pointers to the native perception resources backing the ARCore runtime.

Summary

Public methods

final Long

For OpenXR runtimes, this is the native XrInstance pointer.

final long

For OpenXR runtimes, this is the native XrSession pointer.

Public methods

getNativeInstancePointer

Added in 1.0.0-alpha11
public final Long getNativeInstancePointer()

For OpenXR runtimes, this is the native XrInstance pointer.

For Play Services runtimes this is null.

getNativeSessionPointer

Added in 1.0.0-alpha11
public final long getNativeSessionPointer()

For OpenXR runtimes, this is the native XrSession pointer.

For Play Services runtimes, this is the native ARCore C API session pointer. See ARCore C API Reference.