ScanSettings.Builder.SetReportDelay(Int64) 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.
Sets the delay for Bluetooth LE scan result reports.
[Android.Runtime.Register("setReportDelay", "(J)Landroid/bluetooth/le/ScanSettings$Builder;", "")]
public Android.Bluetooth.LE.ScanSettings.Builder? SetReportDelay(long reportDelayMillis);
[<Android.Runtime.Register("setReportDelay", "(J)Landroid/bluetooth/le/ScanSettings$Builder;", "")>]
member this.SetReportDelay : int64 -> Android.Bluetooth.LE.ScanSettings.Builder
Parameters
- reportDelayMillis
- Int64
how frequently scan results should be delivered in milliseconds
Returns
This builder instance.
- Attributes
Remarks
Sets the delay for Bluetooth LE scan result reports. If set to 0, you will be notified of scan results immediately. If greater than 0, scan results are queued for delivery after the requested delay, subject to a platform minimum. The Android 12 through 17 platform releases apply a configurable minimum delay that defaults to 5000 milliseconds. Scan results may be delivered sooner if the internal buffers fill up.
Android reference for android.bluetooth.le.ScanSettings.Builder.setReportDelay.
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.