com.bear.common.sdk.listeners.scan / ArStateChangeRegistrar

ArStateChangeRegistrar

data class ArStateChangeRegistrar

Used to register Ar status changes via PublishSubject.

Parameters

oldState - the old ArState

newState - the new ArState.

Constructors

<init>

ArStateChangeRegistrar(oldState: ArState, newState: ArState)

Used to register Ar status changes via PublishSubject.

Properties

newState

val newState: ArState

the new ArState.

oldState

val oldState: ArState

the old ArState