Delen via


GattSessionStatus Enum

Definition

This enumeration defines a GattSession status.

public enum class GattSessionStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class GattSessionStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum GattSessionStatus
var value = Windows.Devices.Bluetooth.GenericAttributeProfile.GattSessionStatus.closed
Public Enum GattSessionStatus
Inheritance
GattSessionStatus
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)
App capabilities
bluetooth

Fields

Name Value Description
Closed 0

The GATT session is closed.

Active 1

The GATT session is active.

Applies to