Class iOSActivityProbe
Provides inferred activity information via the iOS activity recognition API as ActivityDatum readings. As it is not
possible to do continuous, real time activity recognition due to battery and network limitations, there are several caveats
to the data produced by this probe:
- The user must typically be engaged in the activity for 30 seconds or more for the activity to be detected.
- Detected activities will typically not be available for collection for several minutes. So even if the activity is
detected and this probe polls, the activity might not be picked up. After a couple minutes the activity will be
available for collection and a subsequent poll will pick up the reading. The reading timestamp will reflect the actual
time when the activity started rather than the time of the poll.
Inheritance
System.Object
iOSActivityProbe
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: SensusiOS.dll
Syntax
public class iOSActivityProbe : PollingProbe, INotifyPropertyChanged, IPollingProbe, IProbe
Constructors
iOSActivityProbe()
For JSON.NET deserialization.
Declaration
public iOSActivityProbe()
Properties
DatumType
Declaration
public override Type DatumType { get; }
Property Value
Type |
Description |
System.Type |
|
Overrides
DefaultPollingSleepDurationMS
Declaration
public override int DefaultPollingSleepDurationMS { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
DisplayName
Declaration
public override string DisplayName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
QueryStartTime
Declaration
public Nullable<DateTimeOffset> QueryStartTime { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTimeOffset> |
|
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
PollAsync(CancellationToken)
Declaration
protected override Task<List<Datum>> PollAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.List<Datum>> |
|
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged