DeviceSamplingPackage class
Methods
-
create(String type)
→ Probe?
-
Creates a new Probe of the specified
type
.
Returns null
if a probe cannot be created for this type
.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onRegister()
→ void
-
Callback method when this package is being registered.
override
-
toString()
→ String
-
A string representation of this object.
inherited
Constants
-
BATTERY
→ const String
-
Measure type for collection of battery level and charging status.
-
DEVICE
→ const String
-
Measure type for collection of basic device information like device name,
model, manufacturer, operating system, and hardware profile.
-
MEMORY
→ const String
-
Measure type for collection of free physical and virtual memory.
-
SCREEN
→ const String
-
Measure type for collection of screen events (on/off/unlocked).
-
TIMEZONE
→ const String
-
Measure type for collection of the time zone of the device.
See List of tz database time zones
for an overview of timezones.