Class AndroidLocationFenceProbe
Provides location fence information via the Google Awareness API as LocationDatum readings.
Inheritance
System.Object
AndroidLocationFenceProbe
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: SensusAndroid.dll
Syntax
public class AndroidLocationFenceProbe : AndroidAwarenessProbe, INotifyPropertyChanged, IListeningProbe, IProbe
Constructors
AndroidLocationFenceProbe()
Declaration
public AndroidLocationFenceProbe()
Fields
AWARENESS_EXITING_LOCATION_FENCE_KEY
Declaration
public const string AWARENESS_EXITING_LOCATION_FENCE_KEY = "EXITING_LOCATION_FENCE"
Field Value
Type |
Description |
System.String |
|
Properties
DatumType
Declaration
public override Type DatumType { get; }
Property Value
Type |
Description |
System.Type |
|
Overrides
DisplayName
Declaration
public override string DisplayName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
LocationChangeRadiusMeters
How far in meters the device must travel before issuing a location-changed event.
Declaration
[EntryIntegerUiProperty("Location Change Radius (Meters):", true, 30, true)]
public int LocationChangeRadiusMeters { get; set; }
Property Value
Type |
Description |
System.Int32 |
The location change radius, in meters.
|
Methods
InitializeAsync()
Declaration
protected override Task InitializeAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
StartListeningAsync()
Declaration
protected override Task StartListeningAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
StopListeningAsync()
Declaration
protected override Task StopListeningAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged