LimeContentManager Class Reference
| 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.
Tasks
-
– addContentRule:forLimeBeacon: -
– addContentRule:forLimeGeofence: -
– removeAllContentRulesForLimeBeacon: -
– removeAllContentRulesForLimeGeofence: -
– removeAllContentRulesForLimeBeaconList: -
– removeAllContentRulesForLimeGeofenceList: -
– removeAllContentRulesForBeacons -
– removeAllContentRulesForGeofences -
– removeAllContentRules -
– contentRulesForLimeBeacon: -
– contentRulesForLimeBeaconList: -
– allContentRulesForBeacons -
– contentRulesForLimeGeofence: -
– contentRulesForLimeGeofenceList: -
– allContentRulesForGeofences -
– allContentRules
Instance Methods
addContentRule:forLimeBeacon:
Adds a new content rule in the local cache for given beacon.
- (void)addContentRule:(LimeContentRule *)content forLimeBeacon:(LimeBeacon *)beaconParameters
- 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.haddContentRule:forLimeGeofence:
Adds a new content rule in the local cache for given geofence.
- (void)addContentRule:(LimeContentRule *)content forLimeGeofence:(LimeGeofence *)geofenceParameters
- 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.hallContentRules
Returns a list of currently cached content rules for all currently visible beacons and geofences.
- (NSArray *)allContentRulesReturn 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.hallContentRulesForBeacons
Returns a list of currently cached content rules for all currently visible beacons.
- (NSArray *)allContentRulesForBeaconsReturn 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.hallContentRulesForGeofences
Returns a list of currently cached content rules for all currently visible geofences.
- (NSArray *)allContentRulesForGeofencesReturn 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.hcontentRulesForLimeBeacon:
Returns a list of currently cached content rules for given beacon.
- (NSArray *)contentRulesForLimeBeacon:(LimeBeacon *)beaconParameters
- 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.hcontentRulesForLimeBeaconList:
Returns a list of currently cached content rules for given beacon list.
- (NSArray *)contentRulesForLimeBeaconList:(NSArray *)beaconListParameters
- 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.hcontentRulesForLimeGeofence:
Returns a list of currently cached content rules for given geofence.
- (NSArray *)contentRulesForLimeGeofence:(LimeGeofence *)geofenceParameters
- 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.hcontentRulesForLimeGeofenceList:
Returns a list of currently cached content rules for given geofence list.
- (NSArray *)contentRulesForLimeGeofenceList:(NSArray *)geofenceListParameters
- 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.hremoveAllContentRules
Removes all content rules from the local cache.
- (void)removeAllContentRulesDiscussion
Removes all content rules from the local cache.
Declared In
LimeContentManager.hremoveAllContentRulesForBeacons
Removes all content rules that are associated with beacons from the local cache.
- (void)removeAllContentRulesForBeaconsDiscussion
Removes all content rules that are associated with beacons from the local cache.
Declared In
LimeContentManager.hremoveAllContentRulesForGeofences
Removes all content rules that are associated with geofences from the local cache.
- (void)removeAllContentRulesForGeofencesDiscussion
Removes all content rules that are associated with geofences from the local cache.
Declared In
LimeContentManager.hremoveAllContentRulesForLimeBeacon:
Removes all content rules for a specified beacon.
- (void)removeAllContentRulesForLimeBeacon:(LimeBeacon *)beaconParameters
- beacon
A beacon for which the content rules should be cleared.
Discussion
Removes all content rules for a specified beacon.
Declared In
LimeContentManager.hremoveAllContentRulesForLimeBeaconList:
Removes all content rules for a specified beacons in the list.
- (void)removeAllContentRulesForLimeBeaconList:(NSArray *)beaconListParameters
- 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.hremoveAllContentRulesForLimeGeofence:
Removes all content rules for a specified geofence.
- (void)removeAllContentRulesForLimeGeofence:(LimeGeofence *)geofenceParameters
- geofence
A geofence for which the content rules should be cleared.
Discussion
Removes all content rules for a specified geofence.
Declared In
LimeContentManager.hremoveAllContentRulesForLimeGeofenceList:
Removes all content rules for a specified geofences in the list.
- (void)removeAllContentRulesForLimeGeofenceList:(NSArray *)geofenceListParameters
- 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