public GpsManagerImpl() { this.gdelegate = new GpsManagerDelegate(); this.locationManager = new CLLocationManager { Delegate = this.gdelegate }; }
public GpsManager(ILogger <IGpsManager> logger) { this.logger = logger; this.gdelegate = new GpsManagerDelegate(); this.locationManager = new CLLocationManager { Delegate = this.gdelegate }; }
public GpsManager(ILogger<IGpsManager> logger) { this.logger = logger; this.gdelegate = new GpsManagerDelegate(); this.locationManager = new CLLocationManager { Delegate = this.gdelegate }; //this.locationManager.RequestTemporaryFullAccuracyAuthorizationAsync //this.locationManager.RequestTemporaryFullAccuracyAuthorization("purposeKey") //this.locationManager.ActivityType = CLActivityType.AutomotiveNavigation // iOS 14 //this.locationManager.AccuracyAuthorization == CLAccuracyAuthorization.FullAccuracy }