Show / Hide Table of Contents

Class BatteryInfo

Information about the device's battery.

Inheritance
object
BatteryInfo
Implements
IMessage<BatteryInfo>
IEquatable<BatteryInfo>
IDeepCloneable<BatteryInfo>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Maps.FleetEngine.V1
Assembly: Google.Maps.FleetEngine.V1.dll
Syntax
public sealed class BatteryInfo : IMessage<BatteryInfo>, IEquatable<BatteryInfo>, IDeepCloneable<BatteryInfo>, IBufferMessage, IMessage

Constructors

BatteryInfo()

Declaration
public BatteryInfo()

BatteryInfo(BatteryInfo)

Declaration
public BatteryInfo(BatteryInfo other)
Parameters
Type Name Description
BatteryInfo other

Properties

BatteryPercentage

Current battery percentage [0-100].

Declaration
public float BatteryPercentage { get; set; }
Property Value
Type Description
float

BatteryStatus

Status of the battery, whether full or charging etc.

Declaration
public BatteryStatus BatteryStatus { get; set; }
Property Value
Type Description
BatteryStatus

PowerSource

Status of battery power source.

Declaration
public PowerSource PowerSource { get; set; }
Property Value
Type Description
PowerSource
In this article
Back to top Generated by DocFX