BleGattConnectionStatus

Possible statuses of BLE connection.

Entries

Link copied to clipboard

Unknown error.

Link copied to clipboard

The disconnection was initiated by the user.

Link copied to clipboard

The local device initiated disconnection.

Link copied to clipboard

The remote device initiated graceful disconnection.

Link copied to clipboard

This reason will only be reported when ConnectRequest.useAutoConnect} was called with parameter set to true, and connection to the device was lost for any reason other than graceful disconnection initiated by the peer user.

Link copied to clipboard

The device does not have required services.

Link copied to clipboard

Connection attempt was cancelled.

Link copied to clipboard

The connection timed out. The device might have reboot, is out of range, turned off or doesn't respond for another reason.

Types

Link copied to clipboard
object Companion

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
Link copied to clipboard

Functions

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.