RNKManager Class Reference
Inherits from | NSObject |
Declared in | RNKManager.h |
Tasks
-
currentMapLocation
property -
+ manager
-
+ managerWithDelegate:
-
– start
-
– stop
-
– startGeolocation
-
– stopGeolocation
-
– updateMaps
-
– addListener:
-
– removeListener:
-
delegate
property -
pkManager
property -
pkManagerDelegate
property -
mapId
property -
maps
property
Properties
currentMapLocation
currentMapLocation
@property (readonly) RNKMapLocation *currentMapLocation
Discussion
Property to fetch the current map location from a SHKAManager instance
Declared In
RNKManager.h
delegate
delegate
@property (assign) id<RNKManagerDelegate> delegate
Discussion
Primary delegate for the SHKAManager.
Declared In
RNKManager.h
mapId
mapId
@property NSString *mapId
Discussion
The mapId of the map currently being viewed
Declared In
RNKManager.h
maps
maps
@property (readonly) NSArray *maps
Discussion
Returns an array of maps defined for this kit
Declared In
RNKManager.h
pkManager
RPKManager
@property (readonly) RPKManager *pkManager
Discussion
The instance of RPKManager manager that SHKAManager wraps and maintains.
Declared In
RNKManager.h
pkManagerDelegate
pkManagerDelegate
@property (assign) id<RPKManagerDelegate> pkManagerDelegate
Discussion
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.h
Class Methods
manager
manager
+ (RNKManager *)manager
Discussion
Creates the manager without a delegate.
Declared In
RNKManager.h
Instance Methods
addListener:
addListener
- (void)addListener:(id<RNKManagerDelegate>)listener
Discussion
Adds the given object to the manager’s list of listeners that will receive location updates
Declared In
RNKManager.h
removeListener:
removeListener
- (void)removeListener:(id<RNKManagerDelegate>)listener
Discussion
Removes the given object from the manager’s list of listeners that will recieve location updates.
Declared In
RNKManager.h
start
start
- (void)start
Discussion
Sets up the manager and starts ProximityKit and CoreLocation.
Declared In
RNKManager.h
startGeolocation
startGeolocation
- (void)startGeolocation
Discussion
Separate method to start GPS updates, to be called only when needed to save battery
Declared In
RNKManager.h
stopGeolocation
stopGeolocation
- (void)stopGeolocation
Discussion
Separate method to stop GPS updates, to be called when GPS is no longer needed
Declared In
RNKManager.h
updateMaps
updateMaps
- (void)updateMaps
Discussion
Updates maps and map configuration from the server
Declared In
RNKManager.h