Package-level declarations

Types

Link copied to clipboard
class WemapVPSARCoreLocationSource : RxBase, LocationSource, ICameraCaptureProvider, IConveyingDetector, AttitudeSource, INavigationManagerInterceptor
Link copied to clipboard

The listener of a WemapVPSARCoreLocationSource object must adopt the WemapVPSARCoreLocationSourceListener interface. The methods of the interface allow the listener to respond to changes in the state of the WemapVPSARCoreLocationSource, to localization events, and to ARCore tracking state changes.

Properties

Link copied to clipboard
val TrackingState.isTracking: Boolean

Functions

Link copied to clipboard
fun WemapVPSARCoreLocationSourceListener(onScanStatusChanged: (status: WemapVPSARCoreLocationSource.ScanStatus) -> Unit? = null, onStateChanged: (state: WemapVPSARCoreLocationSource.State) -> Unit? = null, onNotPositioningReasonChanged: (reason: WemapVPSARCoreLocationSource.NotPositioningReason) -> Unit? = null, onTrackingFailureReasonChanged: (reason: TrackingFailureReason) -> Unit? = null, onBackgroundScanStatusChanged: (status: WemapVPSARCoreLocationSource.ScanStatus) -> Unit? = null, onLocalizedUser: (coordinate: Coordinate, attitude: Attitude, backgroundScan: Boolean) -> Unit? = null, onTrackingStateChanged: (reason: TrackingState) -> Unit? = null): WemapVPSARCoreLocationSourceListener