/* * Diagnostic_Location.h * Diagnostic Plugin - Location Module * * Copyright (c) 2018 Working Edge Ltd. * Copyright (c) 2012 AVANTIC ESTUDIO DE INGENIEROS */ #import #import #import "Diagnostic.h" #import @interface Diagnostic_Location : CDVPlugin @property (strong, nonatomic) CLLocationManager* locationManager; @property (nonatomic, retain) NSString* locationRequestCallbackId; @property (nonatomic, retain) NSString* currentLocationAuthorizationStatus; @property (nonatomic, retain) NSString* currentLocationAccuracyAuthorization; - (void) isLocationAvailable: (CDVInvokedUrlCommand*)command; - (void) isLocationEnabled: (CDVInvokedUrlCommand*)command; - (void) isLocationAuthorized: (CDVInvokedUrlCommand*)command; - (void) getLocationAuthorizationStatus: (CDVInvokedUrlCommand*)command; - (void) getLocationAccuracyAuthorization: (CDVInvokedUrlCommand*)command; - (void) requestLocationAuthorization: (CDVInvokedUrlCommand*)command; - (void) requestTemporaryFullAccuracyAuthorization: (CDVInvokedUrlCommand*)command; @end