RoomioSupport
enum RoomioSupport : Enum<RoomioSupport>
Whether a device can scan, returned by Roomio.isSupported.
Entries
| SUPPORTED | SUPPORTED The device can scan. |
| SUPPORTED_NEEDS_UPDATE | SUPPORTED_NEEDS_UPDATE The device can scan once Google Play Services for AR is installed or updated. The scan screen shows Google Play's prompt for it when it opens; if the user declines, the session moves to RoomioScanState.Failed with RoomioError.Code.SESSION_UNAVAILABLE. |
| CHECKING | CHECKING Support is still being checked. Call Roomio.isSupported again shortly. |
| UNSUPPORTED | UNSUPPORTED The device cannot scan. |
Properties
| Name | Summary |
|---|---|
| entries | val entries: EnumEntries<RoomioSupport> Returns a representation of an immutable list of all enum entries, in the order they're declared. |
Functions
| Name | Summary |
|---|---|
| valueOf | fun valueOf(value: String): RoomioSupport 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 | fun values(): Array<RoomioSupport> Returns an array containing the constants of this enum type, in the order they're declared. |
CHECKING
Support is still being checked. Call Roomio.isSupported again shortly.
SUPPORTED
The device can scan.
SUPPORTED_NEEDS_UPDATE
The device can scan once Google Play Services for AR is installed or updated. The scan screen shows Google Play's prompt for it when it opens; if the user declines, the session moves to RoomioScanState.Failed with RoomioError.Code.SESSION_UNAVAILABLE.
UNSUPPORTED
The device cannot scan.
entries
val entries: EnumEntries<RoomioSupport>
Returns a representation of an immutable list of all enum entries, in the order they're declared.
This method may be used to iterate over the enum entries.
valueOf
fun valueOf(value: String): RoomioSupport
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.)
Throws
| IllegalArgumentException | if this enum type has no constant with the specified name |
values
fun values(): Array<RoomioSupport>
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.