WDWWarning

Objective-C

@interface WDWWarning : NSObject

Swift

class WDWWarning : NSObject

This class represents all necessary details of the received and evaluated WDW event.

See HMI Guidelines section in WDW-SDK documentation to find out how to display a warning to the user.

  • The WDWEventType of the event.

    Declaration

    Objective-C

    @property (nonatomic, readonly) WDWEventType eventType;

    Swift

    var eventType: WDWEventType { get }
  • Distance in meters from user’s current location to the place where the WDW event occured

    Declaration

    Objective-C

    @property (nonatomic, readonly) CLLocationDistance distance;

    Swift

    var distance: CLLocationDistance { get }