#include <device_report.h>
Device report updated with the latest app states for managed apps on the device.
◆ DeviceReport() [1/2]
| google_androidenterprise_api::DeviceReport::DeviceReport |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ DeviceReport() [2/2]
| google_androidenterprise_api::DeviceReport::DeviceReport |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~DeviceReport()
| google_androidenterprise_api::DeviceReport::~DeviceReport |
( |
| ) |
|
|
virtual |
◆ clear_app_state()
| void google_androidenterprise_api::DeviceReport::clear_app_state |
( |
| ) |
|
|
inline |
Clears the 'appState' attribute.
◆ clear_last_updated_timestamp_millis()
| void google_androidenterprise_api::DeviceReport::clear_last_updated_timestamp_millis |
( |
| ) |
|
|
inline |
Clears the 'lastUpdatedTimestampMillis' attribute.
◆ get_app_state()
| const client::JsonCppArray<AppState > google_androidenterprise_api::DeviceReport::get_app_state |
( |
| ) |
const |
Get a reference to the value of the 'appState' attribute.
◆ get_last_updated_timestamp_millis()
| int64 google_androidenterprise_api::DeviceReport::get_last_updated_timestamp_millis |
( |
| ) |
const |
|
inline |
Get the value of the 'lastUpdatedTimestampMillis' attribute.
◆ GetTypeName()
| const StringPiece google_androidenterprise_api::DeviceReport::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_app_state()
| bool google_androidenterprise_api::DeviceReport::has_app_state |
( |
| ) |
const |
|
inline |
Determine if the 'appState' attribute was set.
- Returns
- true if the '
appState' attribute was set.
◆ has_last_updated_timestamp_millis()
| bool google_androidenterprise_api::DeviceReport::has_last_updated_timestamp_millis |
( |
| ) |
const |
|
inline |
Determine if the 'lastUpdatedTimestampMillis' attribute was set.
- Returns
- true if the '
lastUpdatedTimestampMillis' attribute was set.
◆ mutable_appState()
| client::JsonCppArray<AppState > google_androidenterprise_api::DeviceReport::mutable_appState |
( |
| ) |
|
Gets a reference to a mutable value of the 'appState' property.
List of app states set by managed apps on the device. App states are defined by the app's developers. This field will always be present.
- Returns
- The result can be modified to change the attribute value.
◆ New()
| DeviceReport * google_androidenterprise_api::DeviceReport::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_last_updated_timestamp_millis()
| void google_androidenterprise_api::DeviceReport::set_last_updated_timestamp_millis |
( |
int64 |
value | ) |
|
|
inline |
Change the 'lastUpdatedTimestampMillis' attribute.
The timestamp of the last report update in milliseconds since epoch. This field will always be present.
- Parameters
-
The documentation for this class was generated from the following files:
- google/androidenterprise_api/device_report.h
- google/androidenterprise_api/device_report.cc