*SDK Delegates
RPLocationDelegate
@interface AppDelegate () <RPLocationDelegate> {
[RPEntry instance].locationDelegate = self;
}- (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
RPAccuracyAuthorizationDelegate
RPLocationDelegate
Last updated