DriverApi
Stay organized with collections
Save and categorize content based on your preferences.
Base class for entry point into the DriverApi.
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
public static void setAbnormalTerminationReportingEnabled (boolean enabled)
Enables/disables reporting abnormal SDK terminations such as the app crashes while
the SDK is still running.
This allows Google to improve SDK stability when applicable.
Note: The default is true
the value must be updated before any SDK
usage to have effect.
Parameters
enabled |
whether abnormal SDK terminations should be reported. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-31 UTC."],[[["`DriverApi` serves as the entry point for interacting with the Driver SDK."],["It offers functionality tailored for ridesharing through `RidesharingDriverApi`."],["Developers can enable or disable reporting of abnormal SDK terminations for improved stability."],["The `FleetEngineConfig` interface within `DriverApi` is deprecated."]]],["`DriverApi` serves as the base entry point for the Driver API, with `RidesharingDriverApi` as a direct subclass for ridesharing. It includes a deprecated `DriverApi.FleetEngineConfig` interface. The key method, `setAbnormalTerminationReportingEnabled(boolean enabled)`, controls whether the SDK reports crashes. This reporting, enabled by default, helps Google improve SDK stability and requires pre-SDK usage configuration. Inherited methods from `java.lang.Object` are also available.\n"]]