AdvertiseSettings.Builder.SetAdvertiseMode(AdvertiseMode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set advertise mode to control the advertising power and latency.
[Android.Runtime.Register("setAdvertiseMode", "(I)Landroid/bluetooth/le/AdvertiseSettings$Builder;", "")]
public Android.Bluetooth.LE.AdvertiseSettings.Builder? SetAdvertiseMode(Android.Bluetooth.LE.AdvertiseMode advertiseMode);
[<Android.Runtime.Register("setAdvertiseMode", "(I)Landroid/bluetooth/le/AdvertiseSettings$Builder;", "")>]
member this.SetAdvertiseMode : Android.Bluetooth.LE.AdvertiseMode -> Android.Bluetooth.LE.AdvertiseSettings.Builder
Parameters
- advertiseMode
- AdvertiseMode
Bluetooth LE Advertising mode, can only be one of AdvertiseSettings.ADVERTISE_MODE_LOW_POWER, AdvertiseSettings.ADVERTISE_MODE_BALANCED, or AdvertiseSettings.ADVERTISE_MODE_LOW_LATENCY.
Returns
- Attributes
Remarks
Set advertise mode to control the advertising power and latency.
Android reference for android.bluetooth.le.AdvertiseSettings.Builder.setAdvertiseMode.
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.