#include <new_device_event.h>
An event generated when a new device is ready to be managed.
◆ NewDeviceEvent() [1/2]
google_androidenterprise_api::NewDeviceEvent::NewDeviceEvent |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ NewDeviceEvent() [2/2]
google_androidenterprise_api::NewDeviceEvent::NewDeviceEvent |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~NewDeviceEvent()
google_androidenterprise_api::NewDeviceEvent::~NewDeviceEvent |
( |
| ) |
|
|
virtual |
◆ clear_device_id()
void google_androidenterprise_api::NewDeviceEvent::clear_device_id |
( |
| ) |
|
|
inline |
Clears the 'deviceId
' attribute.
◆ clear_dpc_package_name()
void google_androidenterprise_api::NewDeviceEvent::clear_dpc_package_name |
( |
| ) |
|
|
inline |
Clears the 'dpcPackageName
' attribute.
◆ clear_management_type()
void google_androidenterprise_api::NewDeviceEvent::clear_management_type |
( |
| ) |
|
|
inline |
Clears the 'managementType
' attribute.
◆ clear_user_id()
void google_androidenterprise_api::NewDeviceEvent::clear_user_id |
( |
| ) |
|
|
inline |
Clears the 'userId
' attribute.
◆ get_device_id()
const StringPiece google_androidenterprise_api::NewDeviceEvent::get_device_id |
( |
| ) |
const |
|
inline |
Get the value of the 'deviceId
' attribute.
◆ get_dpc_package_name()
const StringPiece google_androidenterprise_api::NewDeviceEvent::get_dpc_package_name |
( |
| ) |
const |
|
inline |
Get the value of the 'dpcPackageName
' attribute.
◆ get_management_type()
const StringPiece google_androidenterprise_api::NewDeviceEvent::get_management_type |
( |
| ) |
const |
|
inline |
Get the value of the 'managementType
' attribute.
◆ get_user_id()
const StringPiece google_androidenterprise_api::NewDeviceEvent::get_user_id |
( |
| ) |
const |
|
inline |
Get the value of the 'userId
' attribute.
◆ GetTypeName()
const StringPiece google_androidenterprise_api::NewDeviceEvent::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_device_id()
bool google_androidenterprise_api::NewDeviceEvent::has_device_id |
( |
| ) |
const |
|
inline |
Determine if the 'deviceId
' attribute was set.
- Returns
- true if the '
deviceId
' attribute was set.
◆ has_dpc_package_name()
bool google_androidenterprise_api::NewDeviceEvent::has_dpc_package_name |
( |
| ) |
const |
|
inline |
Determine if the 'dpcPackageName
' attribute was set.
- Returns
- true if the '
dpcPackageName
' attribute was set.
◆ has_management_type()
bool google_androidenterprise_api::NewDeviceEvent::has_management_type |
( |
| ) |
const |
|
inline |
Determine if the 'managementType
' attribute was set.
- Returns
- true if the '
managementType
' attribute was set.
◆ has_user_id()
bool google_androidenterprise_api::NewDeviceEvent::has_user_id |
( |
| ) |
const |
|
inline |
Determine if the 'userId
' attribute was set.
- Returns
- true if the '
userId
' attribute was set.
◆ New()
NewDeviceEvent * google_androidenterprise_api::NewDeviceEvent::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_device_id()
void google_androidenterprise_api::NewDeviceEvent::set_device_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'deviceId
' attribute.
The Android ID of the device. This field will always be present.
- Parameters
-
◆ set_dpc_package_name()
void google_androidenterprise_api::NewDeviceEvent::set_dpc_package_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'dpcPackageName
' attribute.
Policy app on the device.
- Parameters
-
◆ set_management_type()
void google_androidenterprise_api::NewDeviceEvent::set_management_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'managementType
' attribute.
Identifies the extent to which the device is controlled by an Android EMM in various deployment configurations.
Possible values include:
- "managedDevice", a device where the DPC is set as device owner,
- "managedProfile", a device where the DPC is set as profile owner.
- Parameters
-
◆ set_user_id()
void google_androidenterprise_api::NewDeviceEvent::set_user_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'userId
' attribute.
The ID of the user. This field will always be present.
- Parameters
-
The documentation for this class was generated from the following files:
- google/androidenterprise_api/new_device_event.h
- google/androidenterprise_api/new_device_event.cc