Show / Hide Table of Contents

    Class AndroidActivityProbe

    Provides inferred activity information via the Google Awareness 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.
    • Activities are typically reported when the user unlocks the device. They are rarely reported when the device is locked.
    • Activities have both a ActivityPhase and ActivityState, which must be carefully inspected to understand the activity the user is engaged in.
    Inheritance
    System.Object
    Probe
    ListeningProbe
    AndroidAwarenessProbe
    AndroidActivityProbe
    Implements
    System.ComponentModel.INotifyPropertyChanged
    IListeningProbe
    IProbe
    Inherited Members
    AndroidAwarenessProbe.AWARENESS_PENDING_INTENT_ACTION
    AndroidAwarenessProbe.InitializeAsync()
    AndroidAwarenessProbe.UpdateRequestBuilder(AwarenessFence, String, AndroidAwarenessProbe.FenceUpdateAction, FenceUpdateRequestBuilder)
    AndroidAwarenessProbe.UpdateFencesAsync(IFenceUpdateRequest)
    AndroidAwarenessProbe.GetChartDataPointFromDatum(Datum)
    AndroidAwarenessProbe.GetChartPrimaryAxis()
    AndroidAwarenessProbe.GetChartSecondaryAxis()
    AndroidAwarenessProbe.GetChartSeries()
    AndroidAwarenessProbe.AwarenessBroadcastReceiver
    AndroidAwarenessProbe.AwarenessApiClient
    AndroidAwarenessProbe.DefaultKeepDeviceAwake
    AndroidAwarenessProbe.DeviceAsleepWarning
    AndroidAwarenessProbe.DeviceAwakeWarning
    ListeningProbe.ProtectedStartAsync()
    ListeningProbe.ProtectedStopAsync()
    ListeningProbe.ResetAsync()
    ListeningProbe.MaxDataStoresPerSecond
    ListeningProbe.MinDataStoreDelay
    ListeningProbe.KeepDeviceAwake
    ListeningProbe.WillHaveSignificantNegativeImpactOnBattery
    ListeningProbe.RawParticipation
    ListeningProbe.DataRateSampleSize
    ListeningProbe.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.TestHealthAsync(List<AnalyticsTrackedEvent>)
    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.Android.Probes.Movement
    Assembly: SensusAndroid.dll
    Syntax
    public class AndroidActivityProbe : AndroidAwarenessProbe, INotifyPropertyChanged, IListeningProbe, IProbe

    Constructors

    AndroidActivityProbe()

    Declaration
    public AndroidActivityProbe()

    Properties

    DatumType

    Declaration
    public override Type DatumType { get; }
    Property Value
    Type Description
    System.Type
    Overrides
    Probe.DatumType

    DisplayName

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

    Methods

    StartListeningAsync()

    Declaration
    protected override Task StartListeningAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    AndroidAwarenessProbe.StartListeningAsync()

    StopListeningAsync()

    Declaration
    protected override Task StopListeningAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    AndroidAwarenessProbe.StopListeningAsync()

    Implements

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