Language

AdvertiseData.Builder.SetIncludeDeviceName(Boolean) Method

Definition

Set whether the device name should be included in advertise packet.

[Android.Runtime.Register("setIncludeDeviceName", "(Z)Landroid/bluetooth/le/AdvertiseData$Builder;", "")]
public Android.Bluetooth.LE.AdvertiseData.Builder? SetIncludeDeviceName(bool includeDeviceName);
[<Android.Runtime.Register("setIncludeDeviceName", "(Z)Landroid/bluetooth/le/AdvertiseData$Builder;", "")>]
member this.SetIncludeDeviceName : bool -> Android.Bluetooth.LE.AdvertiseData.Builder

Parameters

includeDeviceName
Boolean

Returns

Attributes

Remarks

Set whether the device name should be included in advertise packet.

Android reference for android.bluetooth.le.AdvertiseData.Builder.setIncludeDeviceName.

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