public class TelemetryImpl extends java.lang.Object implements TelemetryDefinition
| Constructor and Description |
|---|
TelemetryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
disableTelemetrySession()
Disables a started telemetry service for this session only.
|
void |
onAppUserTurnstileEvent()
Register the app user turnstile event
|
void |
onCreateOfflineRegion(OfflineRegionDefinition offlineDefinition)
Register an offline region creation event.
|
void |
onGestureInteraction(java.lang.String eventType,
double latitude,
double longitude,
double zoom)
Deprecated.
since 7.5.0, this event is no longer supported
|
void |
onPerformanceEvent(Bundle data)
Register a performance event
|
void |
setDebugLoggingEnabled(boolean debugLoggingEnabled)
Set the debug logging state of telemetry.
|
boolean |
setSessionIdRotationInterval(int interval)
Set the telemetry rotation session id interval
|
void |
setUserTelemetryRequestState(boolean enabledTelemetry)
Set the end-user selected state to participate or opt-out in telemetry collection.
|
public void onAppUserTurnstileEvent()
onAppUserTurnstileEvent in interface TelemetryDefinition@Deprecated
public void onGestureInteraction(java.lang.String eventType,
double latitude,
double longitude,
@FloatRange(from=0.0,to=25.5)
double zoom)
onGestureInteraction in interface TelemetryDefinitioneventType - type of gesture event occurredlatitude - the latitude value of the gesture focal pointlongitude - the longitude value of the gesture focal pointzoom - current zoom of the mappublic void setUserTelemetryRequestState(boolean enabledTelemetry)
setUserTelemetryRequestState in interface TelemetryDefinitionenabledTelemetry - true if enabled, false otherwisepublic void disableTelemetrySession()
TelemetryDefinitiondisableTelemetrySession in interface TelemetryDefinitionpublic void setDebugLoggingEnabled(boolean debugLoggingEnabled)
setDebugLoggingEnabled in interface TelemetryDefinitiondebugLoggingEnabled - true to enable loggingpublic boolean setSessionIdRotationInterval(int interval)
setSessionIdRotationInterval in interface TelemetryDefinitioninterval - the selected session intervalpublic void onCreateOfflineRegion(@NonNull
OfflineRegionDefinition offlineDefinition)
onCreateOfflineRegion in interface TelemetryDefinitionofflineDefinition - the offline region definitionpublic void onPerformanceEvent(Bundle data)
onPerformanceEvent in interface TelemetryDefinitiondata - performance event data