Udostępnij za pośrednictwem


GattServiceProviderTrigger.AdvertisingParameters Property

Definition

Gets the advertising parameters which control whether the radio is connected/discoverable.

public:
 property GattServiceProviderAdvertisingParameters ^ AdvertisingParameters { GattServiceProviderAdvertisingParameters ^ get(); void set(GattServiceProviderAdvertisingParameters ^ value); };
GattServiceProviderAdvertisingParameters AdvertisingParameters();

void AdvertisingParameters(GattServiceProviderAdvertisingParameters value);
public GattServiceProviderAdvertisingParameters AdvertisingParameters { get; set; }
var gattServiceProviderAdvertisingParameters = gattServiceProviderTrigger.advertisingParameters;
gattServiceProviderTrigger.advertisingParameters = gattServiceProviderAdvertisingParameters;
Public Property AdvertisingParameters As GattServiceProviderAdvertisingParameters

Property Value

Remarks

When the device is discoverable, the service is published to a database so that other devices can see what services are available without having to connect to the device.

Applies to