Partager via


State Enum

Definition

Enumerates values returned by several types.

public enum State
type State = 
Inheritance
State

Fields

Name Value Description
Disconnected 0
Connecting 1
Connected 2
Disconnecting 3
Off 10

Indicates the local Bluetooth adapter is off.

TurningOn 11

Indicates the local Bluetooth adapter is turning on.

On 12

Indicates the local Bluetooth adapter is on, and ready for use.

TurningOff 13

Indicates the local Bluetooth adapter is turning off.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to