public GeofenceStatusChangedEventArgs(GeofenceRegion region, GeofenceStatus status) { this.Region = region; this.Status = status; }
public void StopMonitoring(GeofenceRegion region) { var native = this.ToNative(region); this.locationManager.StopMonitoring(native); }
public GeofenceState(GeofenceRegion region) { this.Region = region; this.Status = GeofenceStatus.Unknown; }
protected virtual void OnRegionStatusChanged(GeofenceRegion region, GeofenceStatus status) => RegionStatusChanged?.Invoke(this, new GeofenceStatusChangedEventArgs(region, status));