-
public final class RumVitalEvent.DeviceDevice properties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRumVitalEvent.Device.Companion
-
Field Summary
Fields Modifier and Type Field Description private final RumVitalEvent.DeviceTypetypeprivate final Stringnameprivate final Stringmodelprivate final Stringbrandprivate final Stringarchitectureprivate final Stringlocaleprivate final List<String>localesprivate final StringtimeZoneprivate final NumberbatteryLevelprivate final BooleanpowerSavingModeprivate final NumberbrightnessLevel
-
Method Summary
Modifier and Type Method Description final RumVitalEvent.DeviceTypegetType()final StringgetName()final StringgetModel()final StringgetBrand()final StringgetArchitecture()final StringgetLocale()final List<String>getLocales()final StringgetTimeZone()final NumbergetBatteryLevel()final BooleangetPowerSavingMode()final NumbergetBrightnessLevel()final JsonElementtoJson()-
-
Constructor Detail
-
RumVitalEvent.Device
RumVitalEvent.Device(RumVitalEvent.DeviceType type, String name, String model, String brand, String architecture, String locale, List<String> locales, String timeZone, Number batteryLevel, Boolean powerSavingMode, Number brightnessLevel)
- Parameters:
type- Device type infoname- Device marketing name, e.g.model- Device SKU model, e.g.brand- Device marketing brand, e.g.architecture- The CPU architecture of the device that is reporting the errorlocale- The user’s locale as a language tag combining language and region, e.g.locales- Ordered list of the user’s preferred system languages as IETF language tags.timeZone- The device’s current time zone identifier, e.g.batteryLevel- Current battery level of the device (0.0 to 1.0).powerSavingMode- Whether the device is in power saving mode.brightnessLevel- Current screen brightness level (0.0 to 1.0).
-
-
Method Detail
-
getType
final RumVitalEvent.DeviceType getType()
-
getArchitecture
final String getArchitecture()
-
getLocales
final List<String> getLocales()
-
getTimeZone
final String getTimeZone()
-
getBatteryLevel
final Number getBatteryLevel()
-
getPowerSavingMode
final Boolean getPowerSavingMode()
-
getBrightnessLevel
final Number getBrightnessLevel()
-
toJson
final JsonElement toJson()
-
-
-
-