OYMLogger Class Reference
Inherits from | NSObject |
---|---|
Declared in | OYMLogger.h OYMLogger.m |
– initWithDataHandler:
OYMLogger constructor.
- (instancetype)initWithDataHandler:(OYMDataHandler *)dh
Parameters
dh |
OYMDataHandler |
---|
Declared In
OYMLogger.h
– logPositionX:andY:
This method logs the position to the server.
- (void)logPositionX:(double)x andY:(double)y
Parameters
x |
WGS84 Longitude to be logged |
---|---|
y |
WGS84 Latitude to be logged |
Declared In
OYMLogger.h
– logRoute:
This method logs the Route to the server.
- (void)logRoute:(OYMRoute *)route
Parameters
route |
Route to be logged |
---|
Declared In
OYMLogger.h
– logJsonRoute:
This method logs the Route to the server.
- (void)logJsonRoute:(NSString *)jsonRoute
Parameters
jsonRoute |
Route to be logged |
---|
Declared In
OYMLogger.h
– getStatsKeys
This method retrieves all the stats keys for the user.
- (NSArray *)getStatsKeys
Return Value
A list of all the keys available
Declared In
OYMLogger.h
– getStatsProp:
This method retrieves a stats key for the user.
- (OYMUserValue *)getStatsProp:(NSString *)key
Parameters
key |
Key to be retrieved |
---|
Return Value
The value of the key if it exists, nil otherwise
Declared In
OYMLogger.h
– putStatsPropKey:andUserValue:
This method stores a value for a given key.
- (void)putStatsPropKey:(NSString *)key andUserValue:(OYMUserValue *)userValue
Parameters
key |
Key to be stored |
---|---|
userValue |
Value to be stored |
Declared In
OYMLogger.h
– putStatsProp:
This method stores a bunch of stats key values pairs.
- (void)putStatsProp:(NSDictionary *)values
Parameters
values |
NSDictionary of key,values pairs to be stored |
---|
Declared In
OYMLogger.h
– getNavKeys
This method retrieves all the navigation keys for the user.
- (NSArray *)getNavKeys
Return Value
A list of all the keys available
Declared In
OYMLogger.h
– getNavProp:
This method retrieves a navigation key for the user.
- (OYMUserValue *)getNavProp:(NSString *)key
Parameters
key |
Key to be retrieved |
---|
Return Value
The value of the key if it exists, nil otherwise
Declared In
OYMLogger.h
– putNavPropKey:andUserValue:
This method stores a value for a given key.
- (void)putNavPropKey:(NSString *)key andUserValue:(OYMUserValue *)userValue
Parameters
key |
Key to be stored |
---|---|
userValue |
Value to be stored |
Declared In
OYMLogger.h
– putNavProp:
This method stores a bunch of stats key values pairs.
- (void)putNavProp:(NSDictionary *)values
Parameters
values |
NSDictionary of key,values pairs to be stored |
---|
Declared In
OYMLogger.h