Source code
Revision control
Copy as Markdown
Other Tools
// # sync15 types
// This exists purely to expose types used by other components.
namespace sync15 {
};
/// Enumeration for the different types of device.
///
/// Firefox Accounts separates devices into broad categories for display purposes,
/// such as distinguishing a desktop PC from a mobile phone. Upon signin, the
/// application should inspect the device it is running on and select an appropriate
/// [`DeviceType`] to include in its device registration record.
enum DeviceType {
"Desktop",
"Mobile",
"Tablet",
"VR",
"TV",
"Unknown",
};