Reference documentation and code samples for the Google Maps FleetEngine V1 Client class PowerSource.
Type of the charger being used to charge the battery.
Protobuf type maps.fleetengine.v1.PowerSource
Namespace
Google \ Maps \ FleetEngine \ V1Methods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
UNKNOWN_POWER_SOURCE
Value: 0
Power source unknown.
Generated from protobuf enum UNKNOWN_POWER_SOURCE = 0;
POWER_SOURCE_AC
Value: 1
Power source is an AC charger.
Generated from protobuf enum POWER_SOURCE_AC = 1;
POWER_SOURCE_USB
Value: 2
Power source is a USB port.
Generated from protobuf enum POWER_SOURCE_USB = 2;
POWER_SOURCE_WIRELESS
Value: 3
Power source is wireless.
Generated from protobuf enum POWER_SOURCE_WIRELESS = 3;
POWER_SOURCE_UNPLUGGED
Value: 4
Battery is unplugged.
Generated from protobuf enum POWER_SOURCE_UNPLUGGED = 4;