Language

AdvertiseSettings.Builder.SetConnectable(Boolean) Method

Definition

Set whether the advertisement type should be connectable or non-connectable.

[Android.Runtime.Register("setConnectable", "(Z)Landroid/bluetooth/le/AdvertiseSettings$Builder;", "")]
public Android.Bluetooth.LE.AdvertiseSettings.Builder? SetConnectable(bool connectable);
[<Android.Runtime.Register("setConnectable", "(Z)Landroid/bluetooth/le/AdvertiseSettings$Builder;", "")>]
member this.SetConnectable : bool -> Android.Bluetooth.LE.AdvertiseSettings.Builder

Parameters

connectable
Boolean

Controls whether the advertisement type will be connectable (true) or non-connectable (false).

Returns

Attributes

Remarks

Set whether the advertisement type should be connectable or non-connectable.

Android reference for android.bluetooth.le.AdvertiseSettings.Builder.setConnectable.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to