MMMNavigationHandler
Objective-C
@protocol MMMNavigationHandler <NSObject>
Swift
protocol MMMNavigationHandler : NSObjectProtocol
Protocol for entities able to fulfill in-app navigation requests.
-
Returns NO, in case the handler is unable to perform the given request. (Another handler will be tried then.) Returns YES, if the request has been accepted by the handler. The handler must call -didFinishSuccessfully: when it’s done performing the request.
Declaration
Objective-C
- (BOOL)performNavigationRequest:(nonnull MMMNavigationRequest *)request;
Swift
func perform(_ request: MMMNavigationRequest) -> Bool