interface IArStateObserver
This class provides ability to handle ArState changes.
abstract val arStateObservingSubject: PublishSubject<ArStateChangeRegistrar>
RxJava2 PublishSubject, subscribing to which you will get ArState changes events, as alternative to callbacks. It is safer to use CompositeDisposable for this. |
abstract fun addArStateListener(listener: IArStateListener): Boolean
Add listener for ArState. removeArStateListener should be called when activity/fragment is destroyed. |
|
abstract fun getCurrentArState(): ArState
Get current AR state. |
|
abstract fun removeArStateListener(listener: IArStateListener): Boolean
Remove listener for ArState. |
interface IBearHandler : IArStateObserver, IFlashStatusHandler
This class provides ability to handle BEAR SDK features. |