# DeviceScannerState

public enum DeviceScannerState extends Enum<IDeviceScanner.DeviceScannerState>

Enum class to describe the current state of the IDeviceScanner.

## Entries

IDLE
Link copied to clipboard
IDLE

Bluetooth scanner is not actively searching for devices.

SCANNING
Link copied to clipboard
SCANNING

Bluetooth scanner is actively searching for devices.

ERROR_BLUETOOTH_PERMISSIONS
Link copied to clipboard
ERROR_BLUETOOTH_PERMISSIONS

Bluetooth scanner could not start because Bluetooth permissions have not been granted.

ERROR_BLUETOOTH_DISABLED
Link copied to clipboard
ERROR_BLUETOOTH_DISABLED

Bluetooth scanner could not start because Bluetooth is disabled on this Android device.

ERROR_BLUETOOTH_UNAVAILABLE
Link copied to clipboard
ERROR_BLUETOOTH_UNAVAILABLE

Bluetooth scanner could not start because Bluetooth is not available on this Android device.

ERROR_INVALID_HARDWARE_ID
Link copied to clipboard
ERROR_INVALID_HARDWARE_ID

Bluetooth scanner could not start because an invalid hardware ID was provided.

ERROR_INTERNAL
Link copied to clipboard
ERROR_INTERNAL

Bluetooth scanner could not start due to an internal error.

ERROR_LICENSE
Link copied to clipboard
ERROR_LICENSE

Bluetooth scanner could not start due to a problem with the LicenseManager. Check LicenseManager.Shared.state for details.

## Properties

entries
Link copied to clipboard
private final EnumEntries<IDeviceScanner.DeviceScannerState> entries

Returns a representation of an immutable list of all enum entries, in the order they're declared.

name
Link copied to clipboard
private final String name
ordinal
Link copied to clipboard
private final Integer ordinal
value
Link copied to clipboard
private final Integer value

## Functions

getEntries
Link copied to clipboard
public final EnumEntries<IDeviceScanner.DeviceScannerState> getEntries()

Enum class to describe the current state of the IDeviceScanner.

getName
Link copied to clipboard
public final String getName()
getOrdinal
Link copied to clipboard
public final Integer getOrdinal()
getValue
Link copied to clipboard
public final Integer getValue()
valueOf
Link copied to clipboard
public final IDeviceScanner.DeviceScannerState valueOf(String value)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values
Link copied to clipboard
public final Array<IDeviceScanner.DeviceScannerState> values()

Returns an array containing the constants of this enum type, in the order they're declared.