public class Configuration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Configuration.Builder
Configuration builder.
|
static class |
Configuration.ConfigurationException
Thrown when there is an error in SDK configuration.
|
Modifier and Type | Field and Description |
---|---|
static int |
MAX_CALENDAR_DEFAULT_NOTIFICATION_TIME_MINUTES
Maximum allowed default calendar notification time.
|
Modifier and Type | Method and Description |
---|---|
AlertsManagerConfig |
getAlertsManagerConfig()
Get an instance of
AlertsManagerConfig . |
AnalyticsConfig |
getAnalyticsConfig()
Get an instance of
AnalyticsConfig . |
String |
getAppId()
Gets the registered application ID.
|
String |
getAppKey()
Gets the application key for configuration.
|
String |
getAppName()
Gets the registered application name.
|
String |
getAppVersion()
Gets the consumer application version.
|
int |
getCalendarDefaultNotificationTime()
Get the default notification time (in minutes) for calendar events.
|
CamerasConfig |
getCamerasConfig()
Get an instance of
CamerasConfig . |
DangerousSlowdownsConfig |
getDangerousSlowdownsConfig()
Get an instance of
DangerousSlowdownsConfig . |
String |
getDeviceManufacturer()
Gets device manufacturer name.
|
String |
getDeviceModel()
Gets device model name.
|
String |
getDevicePlatform()
Gets device platform name.
|
String |
getDevicePlatformVersion()
Gets the platform version of the device.
|
GasStationsConfig |
getGasStationsConfig()
Get an instance of
GasStationsConfig . |
IncidentsConfig |
getIncidentsConfig()
Get an instance of
IncidentsConfig . |
ItineraryConfig |
getItineraryConfig()
Get an instance of
ItineraryConfig . |
LocationsManagerConfig |
getLocationsManagerConfig()
Get an instance of
LocationsManagerConfig . |
NetworkingConfig |
getNetworkingConfig()
Get an instance of
NetworkingConfig . |
ParkingConfig |
getParkingConfig()
Get an instance of
ParkingConfig . |
PhsConfig |
getPhsConfig()
Get an instance of
PhsConfig . |
RoutesConfig |
getRoutesConfig()
Get an instance of
RoutesConfig . |
String |
getSdkName()
Returns the SDK name.
|
String |
getSdkVersion()
Returns the SDK version.
|
TrafficQualityConfig |
getTrafficQualityConfig()
Get an instance of
TrafficQualityConfig . |
TrafficTilesConfig |
getTrafficTilesConfig()
Get an instance of
TrafficTilesConfig . |
String |
getVehicleId() |
boolean |
isCalendarDefaultNotificationEnabled()
Get whether push notifications are enabled by default for calendar events.
|
boolean |
isCalendarSyncEnabled()
Gets a value that indicates whether calendar synchronization is enabled.
|
boolean |
isLocationLearningEnabled()
Gets a value that indicates whether the location learning is enabled.
|
boolean |
isTripRecordingEnabled()
Gets a value that indicates whether the trip recording is enabled.
|
boolean |
isUserLocationMonitoringEnabled()
Get whether or not the user's location should be monitored.
|
public static final int MAX_CALENDAR_DEFAULT_NOTIFICATION_TIME_MINUTES
public String getSdkName()
public String getSdkVersion()
public String getAppKey()
public String getAppVersion()
public String getAppId()
public String getAppName()
public String getVehicleId()
public String getDevicePlatform()
public String getDevicePlatformVersion()
public String getDeviceModel()
public String getDeviceManufacturer()
public NetworkingConfig getNetworkingConfig()
NetworkingConfig
.public IncidentsConfig getIncidentsConfig()
IncidentsConfig
.public ItineraryConfig getItineraryConfig()
ItineraryConfig
.public RoutesConfig getRoutesConfig()
RoutesConfig
.public TrafficQualityConfig getTrafficQualityConfig()
TrafficQualityConfig
.public TrafficTilesConfig getTrafficTilesConfig()
TrafficTilesConfig
.public CamerasConfig getCamerasConfig()
CamerasConfig
.public GasStationsConfig getGasStationsConfig()
GasStationsConfig
.public ParkingConfig getParkingConfig()
ParkingConfig
.public LocationsManagerConfig getLocationsManagerConfig()
LocationsManagerConfig
.public PhsConfig getPhsConfig()
PhsConfig
.public AlertsManagerConfig getAlertsManagerConfig()
AlertsManagerConfig
.public AnalyticsConfig getAnalyticsConfig()
AnalyticsConfig
.public DangerousSlowdownsConfig getDangerousSlowdownsConfig()
DangerousSlowdownsConfig
.DangerousSlowdownsConfig
.public boolean isTripRecordingEnabled()
true
if enabled, false
otherwise.public boolean isLocationLearningEnabled()
true
if enabled, false
if disabled.public boolean isCalendarSyncEnabled()
true
if enabled, false
if disabled.public boolean isCalendarDefaultNotificationEnabled()
true
if enabled, false
if disabled.public int getCalendarDefaultNotificationTime()
public boolean isUserLocationMonitoringEnabled()
true
for enabled, false
for disabled.Configuration.Builder.monitorUserLocation(boolean)
Copyright © 2013-2018 INRIX, Inc. All Rights Reserved.