GMTDDriverAPI Class Reference

GMTDDriverAPI Class Reference

Overview

An abstract superclass for the Driver SDK API classes.

Inherited by GMTDDeliveryDriverAPI.

Static Public Member Functions

(NSString *) + SDKVersion
 Returns the version for this release of the Google On Demand Rides and Deliveries Driver SDK for iOS.
(NSString *) + SDKLongVersion
 Returns the long formatted version string.
(void) + setAbnormalTerminationReportingEnabled:
 Enables reporting of abnormal SDK terminations such as when the app crashes while the SDK is still running.

Member Function Documentation

+ (NSString *) SDKVersion

Returns the version for this release of the Google On Demand Rides and Deliveries Driver SDK for iOS.

For example, "0.4.4". The version is in the SDK's resource bundle.

+ (NSString *) SDKLongVersion

Returns the long formatted version string.

It includes the version string and bundle version in format "<SHORT VERSION> (<BUNDLE VERSION>)". For example, "0.4.4 (234.2)".

+ (void) setAbnormalTerminationReportingEnabled: (BOOL)  abnormalTerminationReportingEnabled

Enables reporting of abnormal SDK terminations such as when the app crashes while the SDK is still running.

This allows Google to improve SDK stability when applicable. The default is YES and value must be updated before the `initWithDriverContext` is called.

This property must be set from the main thread.