# GoogleRidesharingDriver Framework Reference

# GMTDDriverAPI

    @interface GMTDDriverAPI : NSObject <NSCopying>

An abstract superclass for the Driver SDK API classes.
- `


  ### [+SDKVersion](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDriverAPI#/c:objc(cs)GMTDDriverAPI(cm)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.

  #### Declaration

  Swift

      class func sdkVersion() -> String

  Objective-C

      + (nonnull NSString *)SDKVersion;

- `


  ### [+SDKLongVersion](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDriverAPI#/c:objc(cs)GMTDDriverAPI(cm)SDKLongVersion)


  ` Returns the long formatted version string. It includes the version
  string and bundle version in format " ()". For example, "0.4.4 (234.2)".

  #### Declaration

  Swift

      class func sdkLongVersion() -> String

  Objective-C

      + (nonnull NSString *)SDKLongVersion;

- `


  ### [+setAbnormalTerminationReportingEnabled:](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDriverAPI#/c:objc(cs)GMTDDriverAPI(cm)setAbnormalTerminationReportingEnabled:)


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

  #### Declaration

  Swift

      class func setAbnormalTerminationReportingEnabled(_ abnormalTerminationReportingEnabled: Bool)

  Objective-C

      + (void)setAbnormalTerminationReportingEnabled:
          (BOOL)abnormalTerminationReportingEnabled;

- `


  ### [-init](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDDriverAPI#/c:objc(cs)GMTDDriverAPI(im)init)


  ` Unavailable
  This abstract superclass cannot be directly instantiated.

  #### Declaration

  Objective-C

      - (null_unspecified instancetype)init;