ZendriveTripWarning

@interface ZendriveTripWarning : NSObject

Represents a single warning that might have occurred during your trip. A collection of these warnings are provided using the -[ZendriveDelegateProtocol processAnalysisOfDrive:] callback.

  • The type of the trip warning.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) ZendriveTripWarningType tripWarningType;
  • Initializer for creating a ZendriveTripWarning.

    Declaration

    Objective-C

    - (instancetype)initWithWarning:(ZendriveTripWarningType)tripWarningType;

    Parameters

    tripWarningType

    Type of warning detected for the current drive.