Język

ScanSettings.Builder.SetReportDelay(Int64) Method

Definition

Set report delay timestamp for Bluetooth LE scan.

[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

Attributes

Remarks

Set report delay timestamp for Bluetooth LE scan. If set to 0, you will be notified of scan results immediately. If > 0, scan results are queued up and delivered after the requested delay or 5000 milliseconds (whichever is higher). Note 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.

Applies to