Пример #1
0
 internal static Location ToLocation(this AndroidAddress address) =>
 new Location
 {
     Latitude  = address.Latitude,
     Longitude = address.Longitude,
     Timestamp = DateTimeOffset.UtcNow
 };
Пример #2
0
 internal static Location ToLocation(this Android.Locations.Address address) =>
 new Location(address.Latitude, address.Longitude, DateTimeOffset.UtcNow);