All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.androidenterprise.model.Device.html Maven / Gradle / Ivy

There is a newer version: v1-rev20241113-2.0.0
Show newest version






Device (Google Play EMM API v1-rev20210723-1.32.1)












com.google.api.services.androidenterprise.model

Class Device

    • Constructor Detail

      • Device

        public Device()
    • Method Detail

      • getAndroidId

        public String getAndroidId()
        The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, "123456789abcdef0".
        Returns:
        value or null for none
      • setAndroidId

        public Device setAndroidId(String androidId)
        The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, "123456789abcdef0".
        Parameters:
        androidId - androidId or null for none
      • getManagementType

        public String getManagementType()
        Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations. Possible values include: - "managedDevice", a device that has the EMM's device policy controller (DPC) as the device owner. - "managedProfile", a device that has a profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is unavailable to the DPC. - "containerApp", no longer used (deprecated). - "unmanagedProfile", a device that has been allowed (by the domain's admin, using the Admin Console to enable the privilege) to use managed Google Play, but the profile is itself not owned by a DPC.
        Returns:
        value or null for none
      • setManagementType

        public Device setManagementType(String managementType)
        Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations. Possible values include: - "managedDevice", a device that has the EMM's device policy controller (DPC) as the device owner. - "managedProfile", a device that has a profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is unavailable to the DPC. - "containerApp", no longer used (deprecated). - "unmanagedProfile", a device that has been allowed (by the domain's admin, using the Admin Console to enable the privilege) to use managed Google Play, but the profile is itself not owned by a DPC.
        Parameters:
        managementType - managementType or null for none
      • getPolicy

        public Policy getPolicy()
        The policy enforced on the device.
        Returns:
        value or null for none
      • setPolicy

        public Device setPolicy(Policy policy)
        The policy enforced on the device.
        Parameters:
        policy - policy or null for none
      • getReport

        public DeviceReport getReport()
        The device report updated with the latest app states.
        Returns:
        value or null for none
      • setReport

        public Device setReport(DeviceReport report)
        The device report updated with the latest app states.
        Parameters:
        report - report or null for none

Copyright © 2011–2021 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy