*SDK Delegates

Applicable for SDK version 5.9.5 and higher

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];
        });
    }
}

Applicable for SDK version 5.8.0 and higher

RPLowPowerModeDelegate

Usage exameple:

Delegate method:

RPAccuracyAuthorizationDelegate

Usage example:

Delegate method:

Applicable for SDK version 5.7.0 and higher

RPLocationDelegate

Usage example:

Delegate method:

Last updated

Was this helpful?