Struct TakeoutLocation
Represents one location record from a Google Takeout location-history export.
public struct TakeoutLocation
- Inherited Members
Constructors
TakeoutLocation()
Initializes an empty location for JSON deserialization.
public TakeoutLocation()
Properties
Accuracy
Gets the reported location accuracy in meters.
[JsonIgnore]
public int Accuracy { get; }
Property Value
DeviceTag
Gets the Takeout device identifier associated with the record.
[JsonIgnore]
public int DeviceTag { get; }
Property Value
FormFactor
Gets the device form factor reported by Takeout.
[JsonIgnore]
public string FormFactor { get; }
Property Value
GpsPoint
Gets the latitude, longitude, and optional altitude as a metadata GPS point.
[JsonIgnore]
public GpsPoint GpsPoint { get; }
Property Value
Timestamp
Gets the time at which the location was recorded.
[JsonIgnore]
public DateTime Timestamp { get; }
Property Value
Methods
ToString()
Returns a readable representation of the location record.
public override string ToString()
Returns
- string
The timestamp, GPS point, accuracy, form factor, and device tag.