Dil

ScanFailure Enum

Definition

Enumerates values returned by several methods of ScanFailure and taken as a parameter of the F:Android.Bluetooth.LE.ScanCallback.OnScanFailed member.

public enum ScanFailure
type ScanFailure = 
Inheritance
ScanFailure

Fields

Name Value Description
AlreadyStarted 1

Fails to start scan as BLE scan with the same settings is already started by the app.

Android reference for android.bluetooth.le.ScanCallback.SCAN_FAILED_ALREADY_STARTED.

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.

ApplicationRegistrationFailed 2

Fails to start scan as app cannot be registered.

Android reference for android.bluetooth.le.ScanCallback.SCAN_FAILED_APPLICATION_REGISTRATION_FAILED.

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.

InternalError 3

Fails to start scan due an internal error

Android reference for android.bluetooth.le.ScanCallback.SCAN_FAILED_INTERNAL_ERROR.

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.

FeatureUnsupported 4

Fails to start power optimized scan as this feature is not supported.

Android reference for android.bluetooth.le.ScanCallback.SCAN_FAILED_FEATURE_UNSUPPORTED.

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.

OutOfHardwareResources 5

Fails to start scan as it is out of hardware resources.

Android reference for android.bluetooth.le.ScanCallback.SCAN_FAILED_OUT_OF_HARDWARE_RESOURCES.

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.

ScanningTooFrequently 6

Fails to start scan as application tries to scan too frequently.

Android reference for android.bluetooth.le.ScanCallback.SCAN_FAILED_SCANNING_TOO_FREQUENTLY.

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.

Remarks

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