Class PhoneCall
Data object for phone calls.
public class PhoneCall
- Inheritance
-
PhoneCall
- Inherited Members
Constructors
PhoneCall()
public PhoneCall()
Properties
CallDuration
Duration of the call.
public TimeSpan CallDuration { get; }
Property Value
CallType
Type of call. Could be "incoming", "outgoing" or "missed"
public string CallType { get; set; }
Property Value
Date
DateTime the call occurred.
public DateTime Date { get; set; }
Property Value
DurationMs
Duration of the call in milliseconds.
protected int DurationMs { get; set; }
Property Value
Id
Identifier for the call.
public string Id { get; set; }
Property Value
Number
Phone number associated with the call
public string Number { get; set; }
Property Value
Methods
ToString()
String representation of the call. Format: {DATE} (Duration: {CallDuration}) {Number} {CallType}
public override string ToString()
Returns
- string
String representation of the call.