MQRouteDestination

@protocol MQRouteDestination <NSObject>

An protocol for an object passed to the MQRouteService that describes the destination with a required location coordinate and optional MQID

  • The location of the destination. Used as a backup in case the MQID is empty or cannot be used.

    Declaration

    Objective-C

    @required
    @property (readonly, strong, nonatomic, nonnull) CLLocation *location;

    Swift

    var location: CLLocation { get }
  • MQID of the destination. Provides the best-case routable destination.

    Declaration

    Objective-C

    @required
    @property (readonly, strong, nonatomic, nullable) NSString *mqid;

    Swift

    var mqid: String? { get }