Language

AdvertisingSetParameters.Builder.SetInterval(Int32) Method

Definition

Set advertising interval.

[Android.Runtime.Register("setInterval", "(I)Landroid/bluetooth/le/AdvertisingSetParameters$Builder;", "", ApiSince=26)]
public Android.Bluetooth.LE.AdvertisingSetParameters.Builder? SetInterval(int interval);
[<Android.Runtime.Register("setInterval", "(I)Landroid/bluetooth/le/AdvertisingSetParameters$Builder;", "", ApiSince=26)>]
member this.SetInterval : int -> Android.Bluetooth.LE.AdvertisingSetParameters.Builder

Parameters

interval
Int32

Bluetooth LE Advertising interval, in 0.625ms unit. Valid range is from 160 (100ms) to 16777215 (10,485.759375 s). Recommended values are: AdvertisingSetParameters.INTERVAL_LOW, AdvertisingSetParameters.INTERVAL_MEDIUM, or AdvertisingSetParameters.INTERVAL_HIGH.

Returns

Attributes

Remarks

Set advertising interval.

Android reference for android.bluetooth.le.AdvertisingSetParameters.Builder.setInterval.

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