FakeAnchorEntity


class FakeAnchorEntity : FakeSystemSpaceEntity


Test-only implementation of AnchorEntity

Summary

Public constructors

Public functions

open Unit

Registers a listener to be called when the state of the anchor changes.

Public properties

open Long

Returns the native pointer of the anchor.

open Int

The current state of the anchor.

Public constructors

FakeAnchorEntity

Added in 1.0.0-alpha04
FakeAnchorEntity()

Public functions

setOnStateChangedListener

Added in 1.0.0-alpha04
open fun setOnStateChangedListener(
    onStateChangedListener: AnchorEntity.OnStateChangedListener
): Unit

Registers a listener to be called when the state of the anchor changes.

Public properties

nativePointer

Added in 1.0.0-alpha04
open val nativePointerLong

Returns the native pointer of the anchor.

state

Added in 1.0.0-alpha04
open val stateInt

The current state of the anchor.