BlueDot

@Serializable
data class BlueDot(    val allowImplicitFloorLevel: Boolean? = false,     val smoothing: Boolean? = true,     val showBearing: Boolean? = false,     val baseColor: String? = "#2266ff",     val useRotationMode: Boolean? = false)

BlueDot holds the properties of values to be set when enabling blue dot

Constructors

Link copied to clipboard
fun BlueDot(    allowImplicitFloorLevel: Boolean? = false,     smoothing: Boolean? = true,     showBearing: Boolean? = false,     baseColor: String? = "#2266ff",     useRotationMode: Boolean? = false)

Properties

Link copied to clipboard
val allowImplicitFloorLevel: Boolean? = false

For venues that do not provide level updates, assume the user is always on the default map If this is false, and no level information is found from position updates, blueDotUpdate events will not include the nearest node This should probably be set true for single floor venues that have no level information in position updates

Link copied to clipboard
val baseColor: String?

Override the default color of the Blue Dot. We interpolate other colors, (such as aura and bearing) from this base color

Link copied to clipboard
val showBearing: Boolean? = false

Whether blue dot should show bearing

Link copied to clipboard
val smoothing: Boolean? = true

Smooth incoming position updates. Set to false if smoothing happens outside the SDK When the blue dot smoothing mode is passed in as undefined, the blue dot position should be smoothed if it doesn't have a floor level, and left as-is if there is a floor level.

Link copied to clipboard
val useRotationMode: Boolean? = false

When enabled the map rotates keeping the journey path pointing upwards.