MobileDevice class
Google Workspace Mobile Management includes Android, Google Sync, and iOS devices.
For more information about common group mobile device API tasks, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-mobile-devices.html).
Constructors
-
MobileDevice({bool? adbStatus, List<
MobileDeviceApplications> ? applications, String? basebandVersion, String? bootloaderVersion, String? brand, String? buildNumber, String? defaultLanguage, bool? developerOptionsStatus, String? deviceCompromisedStatus, String? deviceId, String? devicePasswordStatus, List<String> ? email, String? encryptionStatus, String? etag, DateTime? firstSync, String? hardware, String? hardwareId, String? imei, String? kernelVersion, String? kind, DateTime? lastSync, bool? managedAccountIsOnOwnerProfile, String? manufacturer, String? meid, String? model, List<String> ? name, String? networkOperator, String? os, List<String> ? otherAccountsInfo, String? privilege, String? releaseVersion, String? resourceId, String? securityPatchLevel, String? serialNumber, String? status, bool? supportsWorkProfile, String? type, bool? unknownSourcesStatus, String? userAgent, String? wifiMacAddress}) - MobileDevice.fromJson(Map json_)
Properties
- adbStatus ↔ bool?
-
Adb (USB debugging) enabled or disabled on device (Read-only)
getter/setter pair
-
applications
↔ List<
MobileDeviceApplications> ? -
The list of applications installed on an Android mobile device.
getter/setter pair
- basebandVersion ↔ String?
-
The device's baseband version.
getter/setter pair
- bootloaderVersion ↔ String?
-
Mobile Device Bootloader version (Read-only)
getter/setter pair
- brand ↔ String?
-
Mobile Device Brand (Read-only)
getter/setter pair
- buildNumber ↔ String?
-
The device's operating system build number.
getter/setter pair
- defaultLanguage ↔ String?
-
The default locale used on the device.
getter/setter pair
- developerOptionsStatus ↔ bool?
-
Developer options enabled or disabled on device (Read-only)
getter/setter pair
- deviceCompromisedStatus ↔ String?
-
The compromised device status.
getter/setter pair
- deviceId ↔ String?
-
The serial number for a Google Sync mobile device.
getter/setter pair
- devicePasswordStatus ↔ String?
-
DevicePasswordStatus (Read-only)
getter/setter pair
-
email
↔ List<
String> ? -
The list of the owner's email addresses.
getter/setter pair
- encryptionStatus ↔ String?
-
Mobile Device Encryption Status (Read-only)
getter/setter pair
- etag ↔ String?
-
ETag of the resource.
getter/setter pair
- firstSync ↔ DateTime?
-
Date and time the device was first synchronized with the policy settings
in the G Suite administrator control panel (Read-only)
getter/setter pair
- hardware ↔ String?
-
Mobile Device Hardware (Read-only)
getter/setter pair
- hardwareId ↔ String?
-
The IMEI/MEID unique identifier for Android hardware.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- imei ↔ String?
-
The device's IMEI number.
getter/setter pair
- kernelVersion ↔ String?
-
The device's kernel version.
getter/setter pair
- kind ↔ String?
-
The type of the API resource.
getter/setter pair
- lastSync ↔ DateTime?
-
Date and time the device was last synchronized with the policy settings in
the G Suite administrator control panel (Read-only)
getter/setter pair
- managedAccountIsOnOwnerProfile ↔ bool?
-
Boolean indicating if this account is on owner/primary profile or not.
getter/setter pair
- manufacturer ↔ String?
-
Mobile Device manufacturer (Read-only)
getter/setter pair
- meid ↔ String?
-
The device's MEID number.
getter/setter pair
- model ↔ String?
-
The mobile device's model name, for example Nexus S.
getter/setter pair
-
name
↔ List<
String> ? -
The list of the owner's user names.
getter/setter pair
- networkOperator ↔ String?
-
Mobile Device mobile or network operator (if available) (Read-only)
getter/setter pair
- os ↔ String?
-
The mobile device's operating system, for example IOS 4.3 or Android
2.3.5.
getter/setter pair
-
otherAccountsInfo
↔ List<
String> ? -
The list of accounts added on device (Read-only)
getter/setter pair
- privilege ↔ String?
-
DMAgentPermission (Read-only)
getter/setter pair
- releaseVersion ↔ String?
-
Mobile Device release version version (Read-only)
getter/setter pair
- resourceId ↔ String?
-
The unique ID the API service uses to identify the mobile device.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- securityPatchLevel ↔ String?
-
Mobile Device Security patch level (Read-only)
getter/setter pair
- serialNumber ↔ String?
-
The device's serial number.
getter/setter pair
- status ↔ String?
-
The device's status.
getter/setter pair
- supportsWorkProfile ↔ bool?
-
Work profile supported on device (Read-only)
getter/setter pair
- type ↔ String?
-
The type of mobile device.
getter/setter pair
- unknownSourcesStatus ↔ bool?
-
Unknown sources enabled or disabled on device (Read-only)
getter/setter pair
- userAgent ↔ String?
-
Gives information about the device such as
os
version.getter/setter pair - wifiMacAddress ↔ String?
-
The device's MAC address on Wi-Fi networks.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited