Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-19 UTC.
[null,null,["Last updated 2025-02-19 UTC."],[],["This documentation outlines classes and enums for managing device environments within the `com.google.android.managementapi.environment.model` package. It defines `Environment` and `EnvironmentEvent` objects, including their respective builders, to capture device and Android Device Policy app states. Key actions involve requesting (`GetEnvironmentRequest`, `PrepareEnvironmentRequest`) and receiving responses (`PrepareEnvironmentResponse`) via related APIs. It also specifies user consent for installing the Android Device Policy app. Additionally there is the `EventCase` enum, that shows the different kinds of `EnvironmentEvent` there is.\n"]]