androidenterprise
v1
|
#include <auto_install_constraint.h>
Public Member Functions | |
AutoInstallConstraint (const Json::Value &storage) | |
AutoInstallConstraint (Json::Value *storage) | |
virtual | ~AutoInstallConstraint () |
const StringPiece | GetTypeName () const |
bool | has_charging_state_constraint () const |
void | clear_charging_state_constraint () |
const StringPiece | get_charging_state_constraint () const |
void | set_charging_state_constraint (const StringPiece &value) |
bool | has_device_idle_state_constraint () const |
void | clear_device_idle_state_constraint () |
const StringPiece | get_device_idle_state_constraint () const |
void | set_device_idle_state_constraint (const StringPiece &value) |
bool | has_network_type_constraint () const |
void | clear_network_type_constraint () |
const StringPiece | get_network_type_constraint () const |
void | set_network_type_constraint (const StringPiece &value) |
Static Public Member Functions | |
static AutoInstallConstraint * | New () |
The auto-install constraint. Defines a set of restrictions for installation. At least one of the fields must be set.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'chargingStateConstraint
' attribute.
|
inline |
Clears the 'deviceIdleStateConstraint
' attribute.
|
inline |
Clears the 'networkTypeConstraint
' attribute.
|
inline |
Get the value of the 'chargingStateConstraint
' attribute.
|
inline |
Get the value of the 'deviceIdleStateConstraint
' attribute.
|
inline |
Get the value of the 'networkTypeConstraint
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'chargingStateConstraint
' attribute was set.
chargingStateConstraint
' attribute was set.
|
inline |
Determine if the 'deviceIdleStateConstraint
' attribute was set.
deviceIdleStateConstraint
' attribute was set.
|
inline |
Determine if the 'networkTypeConstraint
' attribute was set.
networkTypeConstraint
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'chargingStateConstraint
' attribute.
Charging state constraint.
[in] | value | The new value. |
|
inline |
Change the 'deviceIdleStateConstraint
' attribute.
Device idle state constraint.
[in] | value | The new value. |
|
inline |
Change the 'networkTypeConstraint
' attribute.
Network type constraint.
[in] | value | The new value. |