MRFeatures Class Reference

Inherits from NSObject
Declared in MRFeatures.h

Overview

Object for holding which features are enabled for a given Editor Location

  maps

Maps feature enabled

@property (nonatomic, readonly) BOOL maps

Declared In

MRFeatures.h

  bluedot

Blue Dot feature enabled

@property (nonatomic, readonly) BOOL bluedot

Declared In

MRFeatures.h

  tags

Asset Tracking feature enabled

@property (nonatomic, readonly) BOOL tags

Declared In

MRFeatures.h

  campaigns

Campaigns feature enabled

@property (nonatomic, readonly) BOOL campaigns

Declared In

MRFeatures.h

  appmaker

AppMaker feature enabled

@property (nonatomic, readonly) BOOL appmaker

Declared In

MRFeatures.h

+ featuresForCurrentApp

Load the features for the most recently loaded location

+ (nullable MRFeatures *)featuresForCurrentApp

Return Value

MRFeatures object representing the features available for that location if they’re available

Declared In

MRFeatures.h

+ featuresForApp:

Load the features for a given location

+ (MRFeatures *)featuresForApp:(MREditorKey *)app

Parameters

app

MREditorKey of the location to load the features for

Return Value

MRFeatures object representing the features available for that location

Declared In

MRFeatures.h

+ registerFeaturesDictionary:forApp:

Register a features dictionary for a given location key

+ (void)registerFeaturesDictionary:(NSDictionary *)features forApp:(MREditorKey *)app

Parameters

features

Dictionary representation of the MRFeatures

app

MREditorKey for the location

Declared In

MRFeatures.h

+ registerFeatures:forApp:

Register an MRFeatures object for a given location

+ (void)registerFeatures:(MRFeatures *)features forApp:(MREditorKey *)app

Parameters

features

MRFeatures enabled for the location

app

MREditorKey for the location

Declared In

MRFeatures.h