MRPlacemarkRequest Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | MRPlacemarkRequest.h |
app
The Meridian app whose placemarks will be requested.
@property (nonatomic, copy, nonnull) MREditorKey *appDeclared In
MRPlacemarkRequest.h
identifier
If set, only the placemark with this identifier will be requested.
@property (nonatomic, copy, nullable) NSString *identifierDeclared In
MRPlacemarkRequest.h
mapKey
If included, results will be restricted to the map indicated.
@property (nonatomic, copy, nullable) MREditorKey *mapKeyDeclared In
MRPlacemarkRequest.h
filters
The filters applied to this request. Only placemarks matching the specified fields/values will be returned.
@property (nonatomic, strong, nullable) NSMutableArray<MRQueryFilter*> *filtersDeclared In
MRPlacemarkRequest.h
filter
Access to first filter (For backwards compatability with previous versions of SDK)
@property (nonatomic, strong, nullable) MRQueryFilter *filterDeclared In
MRPlacemarkRequest.h
inProgress
Returns YES if the request is currently being in progress.
@property (nonatomic, readonly) BOOL inProgressDeclared In
MRPlacemarkRequest.h
– startWithCompletionHandler:
Starts the asynchronous request.
- (void)startWithCompletionHandler:(MRPlacemarkRequestCompletionHandler _Nullable)completionHandlerParameters
completionHandler |
A block to run when the request is complete. |
|---|
Discussion
Any calls to startWithCompletionHandler: while [MRPlacemarkRequest inProgress] will fail.
The completionHandler block will be called on the main queue and takes two parameters:
responsecontains the results of the request, ornilif an error occurred.errorcontains the error information if one occured, ornilif the request was successful.
Declared In
MRPlacemarkRequest.h