Dela via


GattSharingMode Enum

Definition

This enumeration represents the GATT sharing mode.

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

The sharing mode is unspecified.

Exclusive 1

The sharing mode is exclusive.

SharedReadOnly 2

The sharing mode is read only.

SharedReadAndWrite 3

The sharing mode is read and write.

Applies to