Dela via


GattServiceProviderAdvertisingParameters.IsDiscoverable Property

Definition

Gets or sets a boolean indicating that the GATT service is discoverable.

public:
 property bool IsDiscoverable { bool get(); void set(bool value); };
bool IsDiscoverable();

void IsDiscoverable(bool value);
public bool IsDiscoverable { get; set; }
var boolean = gattServiceProviderAdvertisingParameters.isDiscoverable;
gattServiceProviderAdvertisingParameters.isDiscoverable = boolean;
Public Property IsDiscoverable As Boolean

Property Value

Boolean

bool

A boolean indicating that the GATT service is discoverable.

Windows requirements

App capabilities
bluetooth

Applies to