Navmii SDK  2.2.0
Write yourself a navigation system in iOS
Classes | Enumerations | Variables
NMRequest.h File Reference

Classes

class  NMRequest
 

Enumerations

enum  NMRequestStatus {
  NMRequestStatusNone, NMRequestStatusProceeding, NMRequestStatusSucceeded, NMRequestStatusCanceled,
  NMRequestStatusFailed
}
 

Variables

NS_ASSUME_NONNULL_BEGIN typedef void(^ NMRequestCompletion )(NMRequest *request, NSArray< NMPlace * > *results, NMRequestError *error)
 

Enumeration Type Documentation

◆ NMRequestStatus

Enumerator
NMRequestStatusNone 
NMRequestStatusProceeding 
NMRequestStatusSucceeded 
NMRequestStatusCanceled 
NMRequestStatusFailed 

Variable Documentation

◆ NMRequestCompletion

NS_ASSUME_NONNULL_BEGIN typedef void(^ NMRequestCompletion) (NMRequest *request, NSArray< NMPlace * > *results, NMRequestError *error)

A completion handler block for a search operation.

Parameters
requestRequest used to get this search response.
resultsThe results parameter contains the search results. If an error occurred, this parameter is set to nil and an appropriate error object is provided in the error parameter.
errorThe error parameter is nil if the search was successful. If an error occurred during the operation, this parameter is set to an appropriate error object.