共用方式為


AdvertisingSetParameters.Builder.SetDiscoverable(Boolean) 方法

定義

[Android.Runtime.Register("setDiscoverable", "(Z)Landroid/bluetooth/le/AdvertisingSetParameters$Builder;", "", ApiSince=34)]
public Android.Bluetooth.LE.AdvertisingSetParameters.Builder SetDiscoverable (bool discoverable);
[<Android.Runtime.Register("setDiscoverable", "(Z)Landroid/bluetooth/le/AdvertisingSetParameters$Builder;", "", ApiSince=34)>]
member this.SetDiscoverable : bool -> Android.Bluetooth.LE.AdvertisingSetParameters.Builder

參數

discoverable
Boolean

傳回

屬性

適用於