android-components / mozilla.components.concept.sync / DeviceType

DeviceType

enum class DeviceType (source)

Describes a type of the physical device in the constellation.

Enum Values

Name Summary
DESKTOP  
MOBILE  
TABLET  
TV  
VR  
UNKNOWN  

Extension Functions

Name Summary
into fun DeviceType.into(): Type
intoSyncType fun DeviceType.intoSyncType(): DeviceType
FxA and Sync libraries both define a “DeviceType”, so we get to have even more cruft.
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.