共用方式為


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

屬性值

備註

當裝置可供探索時,服務會發佈至資料庫,讓其他裝置可以看到哪些服務可供使用,而不需要連線到裝置。

適用於