WDWWarning Class Reference

Inherits from NSObject
Declared in WDWWarning.h

Overview

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

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

Other Methods

  eventType

The WDWEventType of the event.

@property (nonatomic, readonly) WDWEventType eventType

Declared In

WDWWarning.h

  distance

Distance in meters from user’s current location to the place where the WDW event occured

@property (nonatomic, readonly) CLLocationDistance distance

Declared In

WDWWarning.h

CustomMessageEvaluation Methods

– initWithEventType:andDistance:

Use this initializer to present the result of your custom Message Evaluation implementation

- (id)initWithEventType:(WDWEventType)eventType andDistance:(CLLocationDistance)distance

Parameters

eventType

Event type you’ve calculated

distance

Distance from user’s current location to the place where WDW event occured, meters

Declared In

WDWWarning.h