Język

State Enum

Definition

Enumerates values returned by several types.

public enum State
type State = 
Inheritance
State

Fields

Name Value Description
Disconnected 0

The profile is in disconnected state

Android reference for android.bluetooth.BluetoothAdapter.STATE_DISCONNECTED.

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.

Connecting 1

The profile is in connecting state

Android reference for android.bluetooth.BluetoothAdapter.STATE_CONNECTING.

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.

Connected 2

The profile is in connected state

Android reference for android.bluetooth.BluetoothAdapter.STATE_CONNECTED.

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.

Disconnecting 3

The profile is in disconnecting state

Android reference for android.bluetooth.BluetoothAdapter.STATE_DISCONNECTING.

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.

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