Show / Hide Table of Contents

    Class AccelerometerDatum

    Acceleration in x, y, and z directions according to the following coordinate system:

    Accelerometer Coordiates

    • Lying flat on its back, the phone will register an acceleration vector of approximately <0,0,-1>.
    • Lying flat on its face, the phone will register an acceleration vector of approximately <0,0,1>.
    • Lying upright on its left edge, the phone will register an acceleration vector of approximately <-1,0,0>.
    • Lying upright on its right edge, the phone will register an acceleration vector of approximately <1,0,0>.
    • Lying upright on its bottom edge, the phone will register an acceleration vector of approximately <0,-1,0>.
    • Lying upright on its top edge, the phone will register an acceleration vector of approximately <0,1,0>.
    Inheritance
    System.Object
    Datum
    AccelerometerDatum
    Implements
    IAccelerometerDatum
    IDatum
    Inherited Members
    Datum.FromJSON(String)
    Datum.GetJSON(AnonymizedJsonContractResolver, Boolean)
    Datum.GetHashCode()
    Datum.Equals(Object)
    Datum.Id
    Datum.DeviceId
    Datum.Timestamp
    Datum.ProtocolId
    Datum.Anonymized
    Datum.BuildId
    Datum.ParticipantId
    Datum.DeviceManufacturer
    Datum.DeviceModel
    Datum.OperatingSystem
    Datum.TaggedEventId
    Datum.TaggedEventTags
    Datum.SensingAgentStateDescription
    Datum.LocalOffsetFromUTC
    Namespace: Sensus.Probes.Movement
    Assembly: SensusAndroid.dll
    Syntax
    public class AccelerometerDatum : Datum, IAccelerometerDatum, IDatum

    Constructors

    AccelerometerDatum(DateTimeOffset, Double, Double, Double)

    Declaration
    public AccelerometerDatum(DateTimeOffset timestamp, double x, double y, double z)
    Parameters
    Type Name Description
    System.DateTimeOffset timestamp
    System.Double x
    System.Double y
    System.Double z

    Properties

    DisplayDetail

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

    StringPlaceholderValue

    Gets the string placeholder value, which is the acceleration vector in [x,y,z] format.

    Declaration
    public override object StringPlaceholderValue { get; }
    Property Value
    Type Description
    System.Object

    The string placeholder value.

    Overrides
    Datum.StringPlaceholderValue

    X

    Acceleration along the X axis.

    Declaration
    [DoubleProbeTriggerProperty("X Acceleration")]
    [Anonymizable]
    public double X { get; set; }
    Property Value
    Type Description
    System.Double

    Y

    Acceleration along the Y axis.

    Declaration
    [DoubleProbeTriggerProperty("Y Acceleration")]
    [Anonymizable]
    public double Y { get; set; }
    Property Value
    Type Description
    System.Double

    Z

    Acceleration along the Z axis.

    Declaration
    [DoubleProbeTriggerProperty("Z Acceleration")]
    [Anonymizable]
    public double Z { get; set; }
    Property Value
    Type Description
    System.Double

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    Datum.ToString()

    Implements

    IAccelerometerDatum
    IDatum
    Back to top Copyright © 2014-2018 University of Virginia
    Generated by DocFX