ScanCallback.OnScanFailed(ScanFailure) Method

Definition

Callback when scan could not be started.

[Android.Runtime.Register("onScanFailed", "(I)V", "GetOnScanFailed_IHandler")]
public virtual void OnScanFailed (Android.Bluetooth.LE.ScanFailure errorCode);
[<Android.Runtime.Register("onScanFailed", "(I)V", "GetOnScanFailed_IHandler")>]
abstract member OnScanFailed : Android.Bluetooth.LE.ScanFailure -> unit
override this.OnScanFailed : Android.Bluetooth.LE.ScanFailure -> unit

Parameters

errorCode
ScanFailure

Error code (one of SCAN_FAILED_*) for scan failure.

Attributes

Remarks

Java documentation for android.bluetooth.le.ScanCallback.onScanFailed(int).

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