DriverApi

  • 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.

public class DriverApi extends Object
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.