*SDK Delegates
RPLocationDelegate
Usage example:
@interface AppDelegate () <RPLocationDelegate> {
[RPEntry instance].locationDelegate = self;
}Delegate method:
- (void)onLocationChanged:(CLLocation *)location {
// Enter your code here to use location objectfrom SDK
}
- (void)onNewEvents:(NSMutableArray *)events {
for (RPEventPoint *temp in events) {
NSString *tempString = self.loggerView.text;
tempString = [NSString stringWithFormat:@"%@\n%@", tempString, temp.type];
dispatch_async(dispatch_get_main_queue(), ^{
[self.loggerView setText:tempString];
});
}
}RPLowPowerModeDelegate
Usage exameple:
Delegate method:
RPAccuracyAuthorizationDelegate
Usage example:
Delegate method:
RPLocationDelegate
Usage example:
Delegate method:
Last updated
Was this helpful?