GattServiceProviderTrigger.AdvertisingParameters 属性

定义

获取广告参数,该参数控制无线电是否连接/可发现。

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

属性值

注解

当设备可被发现时,该服务将发布到数据库,以便其他设备无需连接到设备即可查看哪些服务可用。

适用于