Class AndroidAwarenessProbe
Base class for Google Awareness API probes.
Inheritance
System.Object
AndroidAwarenessProbe
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: SensusAndroid.dll
Syntax
public abstract class AndroidAwarenessProbe : ListeningProbe, INotifyPropertyChanged, IListeningProbe, IProbe
Constructors
AndroidAwarenessProbe()
Declaration
public AndroidAwarenessProbe()
Fields
AWARENESS_PENDING_INTENT_ACTION
Declaration
public const string AWARENESS_PENDING_INTENT_ACTION = "SENSUS_AWARENESS_UPDATE"
Field Value
Type |
Description |
System.String |
|
Properties
AwarenessApiClient
Declaration
protected GoogleApiClient AwarenessApiClient { get; }
Property Value
Type |
Description |
Android.Gms.Common.Apis.GoogleApiClient |
|
AwarenessBroadcastReceiver
Declaration
protected AndroidAwarenessProbeBroadcastReceiver AwarenessBroadcastReceiver { get; }
Property Value
DefaultKeepDeviceAwake
Declaration
protected override bool DefaultKeepDeviceAwake { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
DeviceAsleepWarning
Declaration
protected override string DeviceAsleepWarning { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
DeviceAwakeWarning
Declaration
protected override string DeviceAwakeWarning { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Methods
GetChartDataPointFromDatum(Datum)
Declaration
protected override ChartDataPoint GetChartDataPointFromDatum(Datum datum)
Parameters
Type |
Name |
Description |
Datum |
datum |
|
Returns
Type |
Description |
Syncfusion.SfChart.XForms.ChartDataPoint |
|
Overrides
GetChartPrimaryAxis()
Declaration
protected override ChartAxis GetChartPrimaryAxis()
Returns
Type |
Description |
Syncfusion.SfChart.XForms.ChartAxis |
|
Overrides
GetChartSecondaryAxis()
Declaration
protected override RangeAxisBase GetChartSecondaryAxis()
Returns
Type |
Description |
Syncfusion.SfChart.XForms.RangeAxisBase |
|
Overrides
GetChartSeries()
Declaration
protected override ChartSeries GetChartSeries()
Returns
Type |
Description |
Syncfusion.SfChart.XForms.ChartSeries |
|
Overrides
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
UpdateFencesAsync(IFenceUpdateRequest)
Declaration
protected Task<bool> UpdateFencesAsync(IFenceUpdateRequest updateRequest)
Parameters
Type |
Name |
Description |
Android.Gms.Awareness.Fence.IFenceUpdateRequest |
updateRequest |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
UpdateRequestBuilder(AwarenessFence, String, AndroidAwarenessProbe.FenceUpdateAction, ref FenceUpdateRequestBuilder)
Declaration
protected void UpdateRequestBuilder(AwarenessFence fence, string fenceKey, AndroidAwarenessProbe.FenceUpdateAction action, ref FenceUpdateRequestBuilder requestBuilder)
Parameters
Type |
Name |
Description |
Android.Gms.Awareness.Fence.AwarenessFence |
fence |
|
System.String |
fenceKey |
|
AndroidAwarenessProbe.FenceUpdateAction |
action |
|
Android.Gms.Awareness.Fence.FenceUpdateRequestBuilder |
requestBuilder |
|
Implements
System.ComponentModel.INotifyPropertyChanged