MRConfig Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in MRConfig.h

Overview

Holds Meridian configuration data for your application.

  editorURL

Prefix to the correct location of the Meridian Editor. This should only be used for internal debugging or as directed by a Meridian engineer.

@property (nonatomic, copy) NSString *editorURL

Declared In

MRConfig.h

  googleAnalyticsTrackingCode

Google Analytics tracking code to use for sending events and page views.

@property (nonatomic, copy) NSString *googleAnalyticsTrackingCode

Declared In

MRConfig.h

  disableMeridianAnalytics

Disable Meridian Google Analytics collection

@property (nonatomic, assign) BOOL disableMeridianAnalytics

Declared In

MRConfig.h

  cacheOverrideEnabled

Flag to override the server specified cache timeout.

@property (nonatomic, assign) BOOL cacheOverrideEnabled

Declared In

MRConfig.h

  cacheOverrideTimeout

Duration in milliseconds to hold on to cached requests when overriding the server defaults

@property (nonatomic, assign) long cacheOverrideTimeout

Declared In

MRConfig.h

  useSimulatedLocation

Flag to enable using simulated location on devices. Defaults to NO.

@property (nonatomic, assign) BOOL useSimulatedLocation

Declared In

MRConfig.h

  outdoorLocationAccuracyThreshold

When using system-provided services for outdoor location, readings will only be considered valid with an accuracy of at least this value in meters. Defaults to 5.

@property (nonatomic, assign) CGFloat outdoorLocationAccuracyThreshold

Declared In

MRConfig.h

  rerouteDistance

Distance in meters a user’s location must diverge from the route before the route can be recalculated. Valid range is 5 - 30 meters. Default value is 10.

@property (nonatomic, assign) CGFloat rerouteDistance

Declared In

MRConfig.h

  rerouteDelay

Time in seconds that a user’s location must remain in divergence from the route before the route can be recalculated. Valid range is 5 - 15 seconds. Default value is 10.

@property (nonatomic, assign) NSTimeInterval rerouteDelay

Declared In

MRConfig.h

  logLevel

Logging level. Defaults to MRLogLevelNormal

@property (nonatomic, assign) MRLogLevel logLevel

Declared In

MRConfig.h

  applicationToken

Application Token. Can be generated at edit.meridianapps.com > your location > Permissions > Application Token.

@property (nonatomic, strong) NSString *applicationToken

Declared In

MRConfig.h