BleTxPowerLevel

Tx (transmitting) power level. A helper class which is a wrapper around Native Android API. It unifies parameters between different Android versions.

Entries

Link copied to clipboard

Advertise using the lowest transmission (TX) power level. Low transmission power can be used to restrict the visibility range of advertising packets.

Link copied to clipboard

Advertise using low TX power level.

Link copied to clipboard

Advertise using medium TX power level.

Link copied to clipboard

Advertise using high TX power level. This corresponds to largest visibility range of the advertising packet.

Properties

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 toLegacy(): Int
Link copied to clipboard
@RequiresApi(value = 26)
fun toNative(): Int
Link copied to clipboard
Link copied to clipboard

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.