static IGeofence CreateGeofence() { #if PORTABLE return(null); #else var geofenceImplementation = new GeofenceImplementation(); geofenceImplementation.RequestNotificationPermission = RequestNotificationPermission; geofenceImplementation.RequestLocationPermission = RequestLocationPermission; return(geofenceImplementation); #endif }
static IGeofence CreateGeofence() { #if PORTABLE return(null); #else System.Diagnostics.Debug.WriteLine("Creating GeofenceImplementation"); var geofenceImplementation = new GeofenceImplementation(); geofenceImplementation.RequestNotificationPermission = RequestNotificationPermission; geofenceImplementation.RequestLocationPermission = RequestLocationPermission; return(geofenceImplementation); #endif }
public FusedLocationCallback(GeofenceImplementation geofenceImplementation) { this.geofenceImplementation = geofenceImplementation; }