Example #1
0
 public GpsManagerImpl()
 {
     this.gdelegate       = new GpsManagerDelegate();
     this.locationManager = new CLLocationManager {
         Delegate = this.gdelegate
     };
 }
Example #2
0
 public GpsManager(ILogger <IGpsManager> logger)
 {
     this.logger          = logger;
     this.gdelegate       = new GpsManagerDelegate();
     this.locationManager = new CLLocationManager {
         Delegate = this.gdelegate
     };
 }
Example #3
0
 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
 }