Reference documentation and code samples for the Google Maps FleetEngine V1 Client class DeviceSettings.
Information about various settings on the mobile device.
Generated from protobuf message maps.fleetengine.v1.DeviceSettings
Namespace
Google \ Maps \ FleetEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ location_power_save_mode
int
How location features are set to behave on the device when battery saver is on.
↳ is_power_save_mode
bool
Whether the device is currently in power save mode.
↳ is_interactive
bool
Whether the device is in an interactive state.
↳ battery_info
getLocationPowerSaveMode
How location features are set to behave on the device when battery saver is on.
int
setLocationPowerSaveMode
How location features are set to behave on the device when battery saver is on.
var
int
$this
getIsPowerSaveMode
Whether the device is currently in power save mode.
bool
setIsPowerSaveMode
Whether the device is currently in power save mode.
var
bool
$this
getIsInteractive
Whether the device is in an interactive state.
bool
setIsInteractive
Whether the device is in an interactive state.
var
bool
$this
getBatteryInfo
Information about the battery state.
hasBatteryInfo
clearBatteryInfo
setBatteryInfo
Information about the battery state.
$this