ScanMode

ScanMode constants for the method IContextConfigurator.scanMode. A direct mapping to android.bluetooth.le.ScanSettings constants.

Entries

Link copied to clipboard

Perform Bluetooth LE scan in low power mode. This is the default scan mode as it consumes the least power.

Link copied to clipboard

Perform Bluetooth LE scan in balanced power mode. Scan results are returned at a rate that provides a good trade-off between scan frequency and power consumption.

Link copied to clipboard

Scan using highest duty cycle. It's recommended to only use this mode when the application is running in the foreground.

Properties

Link copied to clipboard
val code: Int
Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): ScanMode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.