Navigation SDK for Android Reference (1.0.0-rc.8)
All modules /  libnavigation-core / com.mapbox.navigation.core.sensors / SensorOptions

SensorOptions

class SensorOptions

Options for the SensorEventEmitter. Use this to decide which sensors are enabled and the frequency.

Parameters

enableSensorTypes - set of enabled sensors

signalsPerSecond - signals per second received from sensors

Types

Builder

Builder of SensorOptions

class Builder

Properties

enableSensorTypes

set of enabled sensors

val enableSensorTypes: Set<Int>

signalsPerSecond

signals per second received from sensors

val signalsPerSecond: Int

Functions

equals

Regenerate whenever a change is made

fun equals(other: Any?): Boolean

hashCode

Regenerate whenever a change is made

fun hashCode(): Int

toBuilder

fun toBuilder(): Builder

toString

Returns a string representation of the object.

fun toString(): String