Inherits from NSObject
Declared in LimeContentManager.h
LimeContentManager.m

Overview

A manager class used to manage content and notify about the content changes, for example if a new content is available or if a content associated with given beacons is lost.

Instance Methods

addContentRule:forLimeBeacon:

Adds a new content rule in the local cache for given beacon.

- (void)addContentRule:(LimeContentRule *)content forLimeBeacon:(LimeBeacon *)beacon

Parameters

content

A content to be added in the local cache.

beacon

A beacon with which the content should be associated.

Discussion

Adds a new content rule in the local cache for given beacon.

Declared In

LimeContentManager.h

addContentRule:forLimeGeofence:

Adds a new content rule in the local cache for given geofence.

- (void)addContentRule:(LimeContentRule *)content forLimeGeofence:(LimeGeofence *)geofence

Parameters

content

A content to be added in the local cache.

geofence

A geofence with which the content should be associated.

Discussion

Adds a new content rule in the local cache for given geofence.

Declared In

LimeContentManager.h

allContentRules

Returns a list of currently cached content rules for all currently visible beacons and geofences.

- (NSArray *)allContentRules

Return Value

A list of all content rules for beacons and geofences.

Discussion

Returns a list of currently cached content rules for all currently visible beacons and geofences.

Declared In

LimeContentManager.h

allContentRulesForBeacons

Returns a list of currently cached content rules for all currently visible beacons.

- (NSArray *)allContentRulesForBeacons

Return Value

A list of content rules for beacons.

Discussion

Returns a list of currently cached content rules for all currently visible beacons.

Declared In

LimeContentManager.h

allContentRulesForGeofences

Returns a list of currently cached content rules for all currently visible geofences.

- (NSArray *)allContentRulesForGeofences

Return Value

A list of content rules for geofences.

Discussion

Returns a list of currently cached content rules for all currently visible geofences.

Declared In

LimeContentManager.h

contentRulesForLimeBeacon:

Returns a list of currently cached content rules for given beacon.

- (NSArray *)contentRulesForLimeBeacon:(LimeBeacon *)beacon

Parameters

beacon

The beacon to be used for content rule lookup.

Return Value

A list of content rules for given beacon.

Discussion

Returns a list of currently cached content rules for given beacon.

Declared In

LimeContentManager.h

contentRulesForLimeBeaconList:

Returns a list of currently cached content rules for given beacon list.

- (NSArray *)contentRulesForLimeBeaconList:(NSArray *)beaconList

Parameters

beaconList

The beacon list to be used for content rule lookup.

Return Value

A list of content rules for given beacons.

Discussion

Returns a list of currently cached content rules for given beacon list.

Declared In

LimeContentManager.h

contentRulesForLimeGeofence:

Returns a list of currently cached content rules for given geofence.

- (NSArray *)contentRulesForLimeGeofence:(LimeGeofence *)geofence

Parameters

geofence

The geofence to be used for content rule lookup.

Return Value

A list of content rules for given geofence.

Discussion

Returns a list of currently cached content rules for given geofence.

Declared In

LimeContentManager.h

contentRulesForLimeGeofenceList:

Returns a list of currently cached content rules for given geofence list.

- (NSArray *)contentRulesForLimeGeofenceList:(NSArray *)geofenceList

Parameters

geofenceList

The geofence list to be used for content rule lookup.

Return Value

A list of content rules for given geofences.

Discussion

Returns a list of currently cached content rules for given geofence list.

Declared In

LimeContentManager.h

removeAllContentRules

Removes all content rules from the local cache.

- (void)removeAllContentRules

Discussion

Removes all content rules from the local cache.

Declared In

LimeContentManager.h

removeAllContentRulesForBeacons

Removes all content rules that are associated with beacons from the local cache.

- (void)removeAllContentRulesForBeacons

Discussion

Removes all content rules that are associated with beacons from the local cache.

Declared In

LimeContentManager.h

removeAllContentRulesForGeofences

Removes all content rules that are associated with geofences from the local cache.

- (void)removeAllContentRulesForGeofences

Discussion

Removes all content rules that are associated with geofences from the local cache.

Declared In

LimeContentManager.h

removeAllContentRulesForLimeBeacon:

Removes all content rules for a specified beacon.

- (void)removeAllContentRulesForLimeBeacon:(LimeBeacon *)beacon

Parameters

beacon

A beacon for which the content rules should be cleared.

Discussion

Removes all content rules for a specified beacon.

Declared In

LimeContentManager.h

removeAllContentRulesForLimeBeaconList:

Removes all content rules for a specified beacons in the list.

- (void)removeAllContentRulesForLimeBeaconList:(NSArray *)beaconList

Parameters

beaconList

A beacon list for which the content rules should be cleared.

Discussion

Removes all content rules for a specified beacons in the list.

Declared In

LimeContentManager.h

removeAllContentRulesForLimeGeofence:

Removes all content rules for a specified geofence.

- (void)removeAllContentRulesForLimeGeofence:(LimeGeofence *)geofence

Parameters

geofence

A geofence for which the content rules should be cleared.

Discussion

Removes all content rules for a specified geofence.

Declared In

LimeContentManager.h

removeAllContentRulesForLimeGeofenceList:

Removes all content rules for a specified geofences in the list.

- (void)removeAllContentRulesForLimeGeofenceList:(NSArray *)geofenceList

Parameters

geofenceList

A geofence list for which the content rules should be cleared.

Discussion

Removes all content rules for a specified geofences in the list.

Declared In

LimeContentManager.h