Page Summary
-
DriverApiserves as the base entry point for the Driver SDK and offers specialized APIs likeDeliveryDriverApifor deliveries. -
It provides a method,
setAbnormalTerminationReportingEnabled, to control the reporting of SDK crashes for stability improvements, enabled by default. -
Developers can use
setPhenotypeContextto provide a context for potential configuration or feature management, although this method's specifics aren't detailed. -
DriverApiextends the base JavaObjectand inherits its standard methods. -
A deprecated
FleetEngineConfiginterface is also present but should be avoided due to its legacy status.
| Known Direct Subclasses |
Base class for entry point into the DriverApi.
Nested Class Summary
| interface | DriverApi.FleetEngineConfig | This interface is deprecated. legacy hook | |
Public Method Summary
| static void |
setAbnormalTerminationReportingEnabled(boolean enabled)
Enables/disables reporting abnormal SDK terminations such as the app crashes
while the SDK is still running.
|
Inherited Method Summary
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. |
|---|