MQPrompt

@interface MQPrompt : NSObject

An object that describes the prompt for the next maneuver

  • Position of the prompt on the route

    Declaration

    Objective-C

    @property (readonly, atomic) MQNavigationRoutePosition position;

    Swift

    var position: MQNavigationRoutePosition { get }
  • What should be shown on the UI for the prompt

    Declaration

    Objective-C

    @property (readonly, atomic, nonnull) NSString *text;

    Swift

    var text: String { get }
  • What should be spoken by the audio engine for the prompt

    Declaration

    Objective-C

    @property (readonly, atomic, nonnull) NSString *speech;

    Swift

    var speech: String { get }
  • Prompt placement enum that defines when the prompt should be played

    Declaration

    Objective-C

    @property (readonly, atomic) MQPromptPlacement placement;

    Swift

    var placement: MQPromptPlacement { get }