-
- All Implemented Interfaces:
public class LogContextData model representing log context.
Instances are typically immutable after construction. Use builders or factory methods where provided.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLogContext.Builder
-
Constructor Summary
Constructors Constructor Description LogContext(LogContext.Builder builder)
-
Method Summary
Modifier and Type Method Description StringgetBuild()StringgetCity()StringgetCountry()StringgetAppId()ObjectgetMediaProviderValue()ObjectgetEventEnvironmentValue()StringgetPageTitle()StringgetMapVersion()DoublegetVehicleSpeed()Speed of the car in meters per second ObjectgetPowerTypeValue()The power type of the vehicle StringgetFirmwareVersion()The firmware version of the device StringgetLogId()StringgetSessionId()Returns session id. StringgetDeviceId()Returns device id. StringgetDeviceModel()Returns device model. StringgetConnectionType()Returns connection type. StringgetDeviceMake()Returns device make. StringgetOsName()Returns os name. StringgetOsVersion()Returns os version. DoublegetCurrentLat()Returns current lat. DoublegetCurrentLon()Returns current lon. StringgetUserId()Returns user id. StringgetSdkVersion()Returns sdk version. StringgetClientName()Returns client name. StringgetClientVersion()Returns client version. LonggetSessionTimer()Returns session timer. LonggetRawGpsTimestamp()Returns raw gps timestamp. StringgetTripId()Returns trip id. voidsetTripId(String trip_id)Sets trip id on this builder. StringgetTimeZone()Returns time zone. static LogContext.Builderbuilder()Creates a new builder for constructing an instance. -
-
Constructor Detail
-
LogContext
LogContext(LogContext.Builder builder)
-
-
Method Detail
-
getBuild
String getBuild()
-
getCity
String getCity()
-
getCountry
String getCountry()
-
getAppId
String getAppId()
-
getMediaProviderValue
Object getMediaProviderValue()
-
getEventEnvironmentValue
Object getEventEnvironmentValue()
-
getPageTitle
String getPageTitle()
-
getMapVersion
String getMapVersion()
-
getVehicleSpeed
Double getVehicleSpeed()
Speed of the car in meters per second
-
getPowerTypeValue
Object getPowerTypeValue()
The power type of the vehicle
-
getFirmwareVersion
String getFirmwareVersion()
The firmware version of the device
-
getLogId
String getLogId()
-
getSessionId
String getSessionId()
Returns session id.
-
getDeviceId
String getDeviceId()
Returns device id.
-
getDeviceModel
String getDeviceModel()
Returns device model.
-
getConnectionType
String getConnectionType()
Returns connection type.
-
getDeviceMake
String getDeviceMake()
Returns device make.
-
getOsName
String getOsName()
Returns os name.
-
getOsVersion
String getOsVersion()
Returns os version.
-
getCurrentLat
Double getCurrentLat()
Returns current lat.
-
getCurrentLon
Double getCurrentLon()
Returns current lon.
-
getUserId
String getUserId()
Returns user id.
-
getSdkVersion
String getSdkVersion()
Returns sdk version.
-
getClientName
String getClientName()
Returns client name.
-
getClientVersion
String getClientVersion()
Returns client version.
-
getSessionTimer
Long getSessionTimer()
Returns session timer.
-
getRawGpsTimestamp
Long getRawGpsTimestamp()
Returns raw gps timestamp.
-
getTripId
String getTripId()
Returns trip id.
-
setTripId
void setTripId(String trip_id)
Sets trip id on this builder.
- Parameters:
trip_id- trip id
-
getTimeZone
String getTimeZone()
Returns time zone.
-
builder
static LogContext.Builder builder()
Creates a new builder for constructing an instance.
Use fluent setter methods before calling build().
-
-
-
-