Skip to content

Class NCLocationListener

mrcrambo edited this page Mar 30, 2021 · 4 revisions

NCLocationListener provides a callback to be invoked when NCLocationManager class downloads the location from server or load it from the storage. The callback is invoked in the UI thread.

Referenced from: NCLocationManager.

@protocol NCLocationListener

- (void)onLocationLoaded:(nullable NCLocation *)location;

- (void)onDownloadProgress:(int32_t)received
                     total:(int32_t)total;

- (void)onLocationFailed:(nullable NSError *)error;

@end
Clone this wiki locally