DevicesResource class Null safety

Constructors

DevicesResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

forceReportUpload(String enterpriseId, String userId, String deviceId, {String? $fields}) Future<void>
Uploads a report containing any changes in app states on the device since the last report was generated.
get(String enterpriseId, String userId, String deviceId, {String? $fields}) Future<Device>
Retrieves the details of a device.
getState(String enterpriseId, String userId, String deviceId, {String? $fields}) Future<DeviceState>
Retrieves whether a device's access to Google services is enabled or disabled.
list(String enterpriseId, String userId, {String? $fields}) Future<DevicesListResponse>
Retrieves the IDs of all of a user's devices.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
setState(DeviceState request, String enterpriseId, String userId, String deviceId, {String? $fields}) Future<DeviceState>
Sets whether a device's access to Google services is enabled or disabled.
toString() String
A string representation of this object.
inherited
update(Device request, String enterpriseId, String userId, String deviceId, {String? updateMask, String? $fields}) Future<Device>
Updates the device policy.

Operators

operator ==(Object other) bool
The equality operator.
inherited