Exemplo n.º 1
0
 internal static Location ToLocation(this AndroidAddress address) =>
 new Location
 {
     Latitude  = address.Latitude,
     Longitude = address.Longitude,
     Timestamp = DateTimeOffset.UtcNow
 };
Exemplo n.º 2
0
 internal static Location ToLocation(this Android.Locations.Address address) =>
 new Location(address.Latitude, address.Longitude, DateTimeOffset.UtcNow);