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); }
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); }