-
- All Implemented Interfaces:
public class ChargeStateEvent extends ApplicationEventTelemetry event for charge state event analytics.
Build with builder, populate required payload fields, and upload via sendEventRequest.
Maps to schema definition
ChargeState.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classChargeStateEvent.Builder
-
Method Summary
Modifier and Type Method Description LonggetTimestamp()Get timestamp The time at which location was determined DoublegetBatteryLevel()Returns battery level. DoublegetBatteryRange()Returns battery range. EventTypegetEventType()Returns event type. static ChargeStateEvent.Builderbuilder()Creates a new builder for constructing an instance. -
-
Method Detail
-
getTimestamp
Long getTimestamp()
Get timestamp The time at which location was determined
-
getBatteryLevel
Double getBatteryLevel()
Returns battery level.
-
getBatteryRange
Double getBatteryRange()
Returns battery range.
-
getEventType
EventType getEventType()
Returns event type.
-
builder
static ChargeStateEvent.Builder builder()
Creates a new builder for constructing an instance.
Use fluent setter methods before calling build().
-
-
-
-