MRLocationManager Class Reference
Estimates a Location using available technology, including CoreLocation and iBeacon hardware. Using this class
will prompt the user for permission to use Location Services. You may want to check
and other related properties to determine if the user has granted permission to use these services.
You MUST provide a message presented to the user when Location Services are requested, by setting one or both of
the “purpose strings” in Info.plist using the keys
The delegate object to receive update events.
@property (nullable, nonatomic, weak) id<MRLocationManagerDelegate> delegate
The last location received. Will be nil until a location has been received.
@property (nullable, nonatomic, strong, readonly) MRLocation *location
Returns the current most relevant error condition that may be preventing location from being determined or updated frequently, or nil.
@property (nullable, nonatomic, readonly) NSError *locationError
Initialize an MRLocationManager with the given “app” in the Editor. Note that this is different than the concept of a “mobile app”. “App” in this case refers to the location within the Meridian Editor which can contain buildings, maps, and other content.
- (instancetype)initWithApp:(MREditorKey *)appKey
A key that represents a Meridian app.
Start updating location as determined by ranging for Location Beacons and/or using the system location manager. Calling this method may may trigger a request for “when in use” location authorization, which requires certain entries in your app’s Info.plist.
Stop updating location.