Show / Hide Table of Contents

    Class TelephonyDatum

    Represents phone call meta-data in terms of the phones TelephonyState, the other phone number, and -- if a call just ended -- the duration of the call. Both IncomingCall and OutgoingCall values will be associated with an unspecified CallDurationSeconds, as the former are recorded to mark the time at which the incoming call arrived or went out, respectively. When a call ends and the phone returns to Idle, then there will be a value for CallDurationSeconds indicating how long the call lasted.

    Inheritance
    System.Object
    Datum
    TelephonyDatum
    Implements
    ITelephonyDatum
    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.Communication
    Assembly: SensusAndroid.dll
    Syntax
    public class TelephonyDatum : Datum, ITelephonyDatum, IDatum

    Constructors

    TelephonyDatum(DateTimeOffset, TelephonyState, String, Nullable<Double>)

    Declaration
    public TelephonyDatum(DateTimeOffset timestamp, TelephonyState state, string phoneNumber, Nullable<double> callDurationSeconds)
    Parameters
    Type Name Description
    System.DateTimeOffset timestamp
    TelephonyState state
    System.String phoneNumber
    System.Nullable<System.Double> callDurationSeconds

    Properties

    CallDurationSeconds

    The duration of the call. Note that this includes the time spent ringing.

    Declaration
    [DoubleProbeTriggerProperty("Call Duration (Secs.)")]
    public Nullable<double> CallDurationSeconds { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    The call duration seconds.

    DisplayDetail

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

    PhoneNumber

    Declaration
    [StringProbeTriggerProperty("Phone #")]
    [Anonymizable]
    public string PhoneNumber { get; set; }
    Property Value
    Type Description
    System.String

    State

    Declaration
    [ListProbeTriggerProperty]
    public TelephonyState State { get; set; }
    Property Value
    Type Description
    TelephonyState

    StringPlaceholderValue

    Gets the string placeholder value, which is the phone number.

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

    The string placeholder value.

    Overrides
    Datum.StringPlaceholderValue

    Methods

    ToString()

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

    Implements

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