Esempio n. 1
0
 private CefGeoposition(cef_geoposition_t *position)
 {
     _latitude         = position->latitude;
     _longitude        = position->longitude;
     _altitude         = position->altitude;
     _accuracy         = position->accuracy;
     _altitudeAccuracy = position->altitude_accuracy;
     _heading          = position->heading;
     _speed            = position->speed;
     _timestamp        = cef_time_t.ToDateTime(&position->timestamp);
     _errorCode        = position->error_code;
     _errorMessage     = cef_string_t.ToString(&position->error_message);
 }
Esempio n. 2
0
 private CefGeoposition(cef_geoposition_t* position)
 {
     _latitude = position->latitude;
     _longitude = position->longitude;
     _altitude = position->altitude;
     _accuracy = position->accuracy;
     _altitudeAccuracy = position->altitude_accuracy;
     _heading = position->heading;
     _speed = position->speed;
     _timestamp = cef_time_t.ToDateTime(&position->timestamp);
     _errorCode = position->error_code;
     _errorMessage = cef_string_t.ToString(&position->error_message);
 }