DeviceType - DataDog/dd-sdk-android GitHub Wiki
enum DeviceType : Enum<DeviceType>
Device type.
Entries
MOBILE
Properties
Name | Summary |
---|---|
name | [androidJvm]val name: String |
ordinal | [androidJvm]val ordinal: Int |
TABLET
Properties
Name | Summary |
---|---|
name | [androidJvm]val name: String |
ordinal | [androidJvm]val ordinal: Int |
TV
Properties
Name | Summary |
---|---|
name | [androidJvm]val name: String |
ordinal | [androidJvm]val ordinal: Int |
DESKTOP
Properties
Name | Summary |
---|---|
name | [androidJvm]val name: String |
ordinal | [androidJvm]val ordinal: Int |
OTHER
Properties
Name | Summary |
---|---|
name | [androidJvm]val name: String |
ordinal | [androidJvm]val ordinal: Int |
Functions
valueOf
fun valueOf(value: String): DeviceType
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<DeviceType>
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.