CBPeripheralState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |