Device class

An Android device registered for zero-touch enrollment.

Constructors

Device()
Device.fromJson(Map _json)

Properties

claims ↔ List<DeviceClaim>
Output only. The provisioning claims for a device. Devices claimed for zero-touch enrollment have a claim with the type SECTION_TYPE_ZERO_TOUCH. Call partners.devices.unclaim or partners.devices.unclaimAsync to remove the device from zero-touch enrollment.
read / write
configuration ↔ String
Not available to resellers.
read / write
deviceId ↔ String
Output only. The ID of the device. Assigned by the server.
read / write
deviceIdentifier DeviceIdentifier
The hardware IDs that identify a manufactured device. To learn more, read Identifiers.
read / write
deviceMetadata DeviceMetadata
The metadata attached to the device. Structured as key-value pairs. To learn more, read Device metadata.
read / write
name ↔ String
Output only. The API resource name in the format partners/[PARTNER_ID]/devices/[DEVICE_ID]. Assigned by the server.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited