PeriodicAdvertisingParameters.Builder.SetInterval(Int32) 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 advertising interval for periodic advertising, in 1.25ms unit.
[Android.Runtime.Register("setInterval", "(I)Landroid/bluetooth/le/PeriodicAdvertisingParameters$Builder;", "", ApiSince=26)]
public Android.Bluetooth.LE.PeriodicAdvertisingParameters.Builder? SetInterval(int interval);
[<Android.Runtime.Register("setInterval", "(I)Landroid/bluetooth/le/PeriodicAdvertisingParameters$Builder;", "", ApiSince=26)>]
member this.SetInterval : int -> Android.Bluetooth.LE.PeriodicAdvertisingParameters.Builder
Parameters
- interval
- Int32
Returns
- Attributes
Remarks
Set advertising interval for periodic advertising, in 1.25ms unit. Valid values are from 80 (100ms) to 65519 (81.89875s). Value from range [interval, interval+20ms] will be picked as the actual value.
Android reference for android.bluetooth.le.PeriodicAdvertisingParameters.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.