//scanning/com.pixelnetica.scanning/Device
Device
[androidJvm]
enum Device : Enum<Device>
Specify device or platform
Entries
UNKNOWN | [androidJvm] UNKNOWN Unspecified device |
ANDROID | [androidJvm] ANDROID Unspecified device but running Android |
IPHONE_4 | [androidJvm] IPHONE_4 See https://support.apple.com/en-us/HT201296 for model list. We use first model index |
IPHONE_4S | [androidJvm] IPHONE_4S |
IPHONE_5 | [androidJvm] IPHONE_5 |
IPHONE_5C | [androidJvm] IPHONE_5C |
IPHONE_5S | [androidJvm] IPHONE_5S |
IPHONE_SE | [androidJvm] IPHONE_SE |
IPHONE_6 | [androidJvm] IPHONE_6 |
[IPHONE_6PLUS](-i-p-h-o-n-e_6-p-l-u-s/index.html) | [androidJvm] [IPHONE_6PLUS](-i-p-h-o-n-e_6-p-l-u-s/index.html) |
IPHONE_6S_PLUS | [androidJvm] IPHONE_6S_PLUS |
IPHONE_6S | [androidJvm] IPHONE_6S |
[IPHONE_7PLUS](-i-p-h-o-n-e_7-p-l-u-s/index.html) | [androidJvm] [IPHONE_7PLUS](-i-p-h-o-n-e_7-p-l-u-s/index.html) |
IPHONE_7 | [androidJvm] IPHONE_7 |
[IPHONE_8PLUS](-i-p-h-o-n-e_8-p-l-u-s/index.html) | [androidJvm] [IPHONE_8PLUS](-i-p-h-o-n-e_8-p-l-u-s/index.html) |
IPHONE_8 | [androidJvm] IPHONE_8 |
IPHONE_X | [androidJvm] IPHONE_X |
IPAD | [androidJvm] IPAD https://support.apple.com/en-us/HT201471 |
IPAD_2 | [androidJvm] IPAD_2 |
IPAD_3 | [androidJvm] IPAD_3 |
IPAD_4 | [androidJvm] IPAD_4 |
IPAD_5 | [androidJvm] IPAD_5 |
IPAD_MINI | [androidJvm] IPAD_MINI |
IPAD_MINI_2 | [androidJvm] IPAD_MINI_2 |
IPAD_MINI_3 | [androidJvm] IPAD_MINI_3 |
IPAD_MINI_4 | [androidJvm] IPAD_MINI_4 |
IPAD_AIR | [androidJvm] IPAD_AIR |
IPAD_AIR_2 | [androidJvm] IPAD_AIR_2 |
IPAD_PRO_2015 | [androidJvm] IPAD_PRO_2015 |
IPAD_PRO_2 | [androidJvm] IPAD_PRO_2 |
Properties
Name | Summary |
---|---|
entries | [androidJvm] val entries: EnumEntries<Device> Returns a representation of an immutable list of all enum entries, in the order they’re declared. |
Functions
Name | Summary |
---|---|
toInt | [androidJvm] fun toInt(): Int |
valueOf | [androidJvm] fun valueOf(value: String): Device 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 | [androidJvm] fun values(): Array<Device> Returns an array containing the constants of this enum type, in the order they’re declared. |