Show / Hide Table of Contents

    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
    Probe
    PollingProbe
    iOSActivityProbe
    Implements
    System.ComponentModel.INotifyPropertyChanged
    IPollingProbe
    IProbe
    Inherited Members
    PollingProbe.ProtectedStartAsync()
    PollingProbe.ProtectedStopAsync()
    PollingProbe.TestHealthAsync(List<AnalyticsTrackedEvent>)
    PollingProbe.ResetAsync()
    PollingProbe.PollingSleepDurationMS
    PollingProbe.PollingTimeoutMinutes
    PollingProbe.RawParticipation
    PollingProbe.DataRateSampleSize
    PollingProbe.MaxDataStoresPerSecond
    PollingProbe.PollTimes
    PollingProbe.AcPowerConnectPoll
    PollingProbe.AcPowerConnectPollOverridesScheduledPolls
    PollingProbe.SignificantChangePoll
    PollingProbe.SignificantChangePollOverridesScheduledPolls
    PollingProbe.AlertUserWhenBackgrounded
    PollingProbe.DelayToleranceBeforeMS
    PollingProbe.DelayToleranceAfterMS
    PollingProbe.CollectionDescription
    Probe.GetAll()
    Probe.add_MostRecentDatumChanged(Probe.MostRecentDatumChangedDelegateAsync)
    Probe.remove_MostRecentDatumChanged(Probe.MostRecentDatumChangedDelegateAsync)
    Probe.StartAsync()
    Probe.StoreDatumAsync(Datum, Nullable<CancellationToken>)
    Probe.ProcessDataAsync(CancellationToken)
    Probe.GetParticipation()
    Probe.StopAsync()
    Probe.RestartAsync()
    Probe.GetChart()
    Probe.Enabled
    Probe.OriginallyEnabled
    Probe.State
    Probe.MostRecentStoreTimestamp
    Probe.Protocol
    Probe.StoreData
    Probe.AllowDisableOnStartUp
    Probe.StartStopTimes
    Probe.SuccessfulHealthTestTimes
    Probe.MaxChartDataCount
    Probe.Caption
    Probe.SubCaption
    Probe.MostRecentDatumChanged
    Probe.PropertyChanged
    Namespace: Sensus.iOS.Probes.Movement
    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
    Probe.DatumType

    DefaultPollingSleepDurationMS

    Declaration
    public override int DefaultPollingSleepDurationMS { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    PollingProbe.DefaultPollingSleepDurationMS

    DisplayName

    Declaration
    public override string DisplayName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    Probe.DisplayName

    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
    Probe.GetChartDataPointFromDatum(Datum)

    GetChartPrimaryAxis()

    Declaration
    protected override ChartAxis GetChartPrimaryAxis()
    Returns
    Type Description
    Syncfusion.SfChart.XForms.ChartAxis
    Overrides
    Probe.GetChartPrimaryAxis()

    GetChartSecondaryAxis()

    Declaration
    protected override RangeAxisBase GetChartSecondaryAxis()
    Returns
    Type Description
    Syncfusion.SfChart.XForms.RangeAxisBase
    Overrides
    Probe.GetChartSecondaryAxis()

    GetChartSeries()

    Declaration
    protected override ChartSeries GetChartSeries()
    Returns
    Type Description
    Syncfusion.SfChart.XForms.ChartSeries
    Overrides
    Probe.GetChartSeries()

    InitializeAsync()

    Declaration
    protected override Task InitializeAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    Probe.InitializeAsync()

    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
    PollingProbe.PollAsync(CancellationToken)

    Implements

    System.ComponentModel.INotifyPropertyChanged
    IPollingProbe
    IProbe
    Back to top Copyright © 2014-2018 University of Virginia
    Generated by DocFX