Edit

Share via


CBPeripheralState Enum

Definition

Enumerates the possible connection states of a CBPeripheral.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum CBPeripheralState
type CBPeripheralState = 
Inheritance
CBPeripheralState
Attributes

Fields

Name Value Description
Disconnected 0

Indicates that the peripheral is not connected.

Connecting 1

Indicates that the peripheral is connecting.

Connected 2

Indicates that the peripheral is connected.

Disconnecting 3

Indicates that the peripheral is disconnecting.

Applies to