IGeofenceManager Interface

graph BT Type["IGeofenceManager"] class Type type-node Implementing0["AbstractGeofenceManager"]-.->Type click Implementing0 "/api/Shiny.Locations/AbstractGeofenceManager" Implementing1["TestGeofenceManager"]-.->Type click Implementing1 "/api/Shiny.Testing.Locations/TestGeofenceManager"

Syntax

public interface IGeofenceManager

Properties

Name Value Summary
Status AccessState
Geofencing Status

Methods

Name Value Summary
GetMonitorRegions() Task<IEnumerable<GeofenceRegion>>
Current set of geofences being monitored
RequestAccess() Task<AccessState>
Requests/ensures appropriate platform permissions where necessary
RequestState(GeofenceRegion, CancellationToken) Task<GeofenceState>
This will request the current status of a geofence region
StartMonitoring(GeofenceRegion) Task
Start monitoring a geofence
StopAllMonitoring() Task
Stop monitoring all active geofences
StopMonitoring(string) Task
Stop monitoring a geofence
WhenAccessStatusChanged() IObservable<AccessState>
Observes changes in the access state

Extension Methods

Name Value Summary
GetPropertyInfo<IGeofenceManager, TRet>(Expression<Func<IGeofenceManager, TRet>>) PropertyInfo
Reflects out property information based on the expression value
ReflectGet(string) object
Gets an objects property dynamically through reflection - will throw an exception if proper has no getter or property does not exists
ReflectGet<IGeofenceManager, TReturn>(Expression<Func<IGeofenceManager, TReturn>>) TReturn
Gets an objects property dynamically through reflection - will throw an exception if proper has no getter or property does not exists
ReflectSet(string, object) void
Sets an objects property dynamically through reflection - will throw an exception if proper has no setter, wrong type, or property does not exists
GitHub