MRUserActivity Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | MRUserActivity.h |
Overview
MRUserActivity is an object used to provide details of an item reached by spotlight search.
mapID
Editor ID of the map the item resides on
@property (nonatomic, strong) NSString *mapIDDeclared In
MRUserActivity.h
locationID
Editor ID of the location the item resides on
@property (nonatomic, strong) NSString *locationIDDeclared In
MRUserActivity.h
itemID
Editor ID of the item (if activityType == MRUserActivityTypePlacemark) the item is a placemark
@property (nonatomic, strong) NSString *itemIDDeclared In
MRUserActivity.h
activityType
Type of item represented by this MRUserActivity
@property (nonatomic, assign) MRUserActivityType activityTypeDeclared In
MRUserActivity.h
– initWithUserActivity:
A convenient initializer to add placemark details to the MRUserActivity along with instantiation.
- (_Nullable instancetype)initWithUserActivity:(NSUserActivity *)userActivityParameters
userActivity |
NSUserActivity from the spotlight search |
|---|
Return Value
An instance of a MRUserActivity
Declared In
MRUserActivity.h