Type alias ZendriveConfiguration

ZendriveConfiguration: {
    attributes?: ZendriveAttributes;
    driveDetectionMode?: ZendriveDriveDetectionMode;
    driverId: string;
    enabledBluetoothTripStart?: boolean;
    implementsMultipleAccidentCallbacks?: boolean;
    managesActivityPermission?: boolean;
    managesLocationPermission?: boolean;
    notificationSettings?: NotificationSettings;
    region?: ZendriveRegion;
    sdkKey: string;
}

Configuration for Zendrive sdk setup. See [[Zendrive.setup]]

Type declaration

  • Optional attributes?: ZendriveAttributes

    Additional attributes of the current driver.

  • Optional driveDetectionMode?: ZendriveDriveDetectionMode

    Drive detection mode specified for the Zendrive SDK.

  • driverId: string

    Returns the unique ID of the driver using this application.

  • Optional enabledBluetoothTripStart?: boolean

    Android Only Set this property to true if the app supports Bluetooth Drive Start. If set to true, the application will receive on-drive-start event whenever succesful bluetooth connection is established with an associated vehicle.

  • Optional implementsMultipleAccidentCallbacks?: boolean

    Set this property to true if the app supports receiving multiple callbacks. If set to true, the application will receive on-potential-accident event.

  • Optional managesActivityPermission?: boolean

    Whether SDK should manage activity/fitness permissions. iOS only. Defaults to true when not provided

  • Optional managesLocationPermission?: boolean

    Whether SDK should manage location permissions. iOS only. Defaults to true when not provided

  • Optional notificationSettings?: NotificationSettings

    NotificationSettings that will be used to show foreground notification by the Zendrive SDK Android Only.

  • Optional region?: ZendriveRegion

    Region specified for the Zendrive SDK. Defaults to [[ZendriveRegion.US]] if unspecified

  • sdkKey: string

    Zendrive sdk key used by this application.