Delen via


GattServiceProviderAdvertisementStatus Enum

Definition

This enumeration defines the advertisement status of a GattServiceProvider.

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

The GATT service was created.

Stopped 1

The GATT service is not advertising.

Started 2

The GATT service advertising has started.

Aborted 3

The GATT service was aborted.

StartedWithoutAllAdvertisementData 4

Indicates that the system was successfully able to issue the advertisement request, but not all of the requested data could be included in the advertisement.

Remarks

Version history

Windows version SDK version Value added
1903 18362 StartedWithoutAllAdvertisementData

Applies to