private void _locationManager_MonitoringFailed(object sender, CLRegionErrorEventArgs e) { this.PositionError(sender, new PositionErrorEventArgs(GeolocationError.PositionUnavailable)); }
void HandleMonitoringFailed(object sender, CLRegionErrorEventArgs e) { OnDebugInfo(String.Format("HandleMonitoringFailed {0}",e.Error)); }
/// <summary> /// Converts the <see cref="CLRegionErrorEventArgs"/> to <see cref="RegionErrorEvent"/>. /// </summary> /// <param name="args">The arguments.</param> /// <returns>The notification.</returns> public static RegionErrorEvent ToNotification(this CLRegionErrorEventArgs args) => new RegionErrorEvent(/*args.Error*/ new Exception(), ToGeoRegion(args.Region));