RNKManager Class Reference
| Inherits from | NSObject |
| Declared in | RNKManager.h |
Tasks
-
currentMapLocationproperty -
+ manager -
+ managerWithDelegate: -
– start -
– stop -
– startGeolocation -
– stopGeolocation -
– updateMaps -
– addListener: -
– removeListener: -
delegateproperty -
pkManagerproperty -
pkManagerDelegateproperty -
mapIdproperty -
mapsproperty
Properties
currentMapLocation
currentMapLocation
@property (readonly) RNKMapLocation *currentMapLocationDiscussion
Property to fetch the current map location from a SHKAManager instance
Declared In
RNKManager.hdelegate
delegate
@property (assign) id<RNKManagerDelegate> delegateDiscussion
Primary delegate for the SHKAManager.
Declared In
RNKManager.hmapId
mapId
@property NSString *mapIdDiscussion
The mapId of the map currently being viewed
Declared In
RNKManager.hmaps
maps
@property (readonly) NSArray *mapsDiscussion
Returns an array of maps defined for this kit
Declared In
RNKManager.hpkManager
RPKManager
@property (readonly) RPKManager *pkManagerDiscussion
The instance of RPKManager manager that SHKAManager wraps and maintains.
Declared In
RNKManager.hpkManagerDelegate
pkManagerDelegate
@property (assign) id<RPKManagerDelegate> pkManagerDelegateDiscussion
Proxy for all of the RPKManager delgate methods. All of the non-deprecated methods from RPKManagerDelegate will be called on this object.
This is useful for accessing the underlying proximity kit functionality while using the same pkManager instance that Schicka wraps and maintains.
Declared In
RNKManager.hClass Methods
manager
manager
+ (RNKManager *)managerDiscussion
Creates the manager without a delegate.
Declared In
RNKManager.hInstance Methods
addListener:
addListener
- (void)addListener:(id<RNKManagerDelegate>)listenerDiscussion
Adds the given object to the manager’s list of listeners that will receive location updates
Declared In
RNKManager.hremoveListener:
removeListener
- (void)removeListener:(id<RNKManagerDelegate>)listenerDiscussion
Removes the given object from the manager’s list of listeners that will recieve location updates.
Declared In
RNKManager.hstart
start
- (void)startDiscussion
Sets up the manager and starts ProximityKit and CoreLocation.
Declared In
RNKManager.hstartGeolocation
startGeolocation
- (void)startGeolocationDiscussion
Separate method to start GPS updates, to be called only when needed to save battery
Declared In
RNKManager.hstopGeolocation
stopGeolocation
- (void)stopGeolocationDiscussion
Separate method to stop GPS updates, to be called when GPS is no longer needed
Declared In
RNKManager.hupdateMaps
updateMaps
- (void)updateMapsDiscussion
Updates maps and map configuration from the server
Declared In
RNKManager.h