Dela via


GattOpenStatus Enum

Definition

public enum class GattOpenStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class GattOpenStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum GattOpenStatus
var value = Windows.Devices.Bluetooth.GenericAttributeProfile.GattOpenStatus.unspecified
Public Enum GattOpenStatus
Inheritance
GattOpenStatus
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
Unspecified 0

Unspecified error.

Success 1

The GATT device service was successfully opened.

AlreadyOpened 2

The GATT device service is already opened.

NotFound 3

The GATT device service was not found.

SharingViolation 4

There was a sharing violation.

AccessDenied 5

Access is denied.

Applies to