Google Maps FleetEngine V1 Client - Class DeviceSettings (0.2.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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
BatteryInfo

Information about the battery state.

getLocationPowerSaveMode

How location features are set to behave on the device when battery saver is on.

Returns
Type
Description
int

setLocationPowerSaveMode

How location features are set to behave on the device when battery saver is on.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getIsPowerSaveMode

Whether the device is currently in power save mode.

Returns
Type
Description
bool

setIsPowerSaveMode

Whether the device is currently in power save mode.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getIsInteractive

Whether the device is in an interactive state.

Returns
Type
Description
bool

setIsInteractive

Whether the device is in an interactive state.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getBatteryInfo

Information about the battery state.

Returns
Type
Description
BatteryInfo |null

hasBatteryInfo

clearBatteryInfo

setBatteryInfo

Information about the battery state.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: