Uses of Class
com.vaadin.flow.component.geolocation.GeolocationOptions.Builder
Packages that use GeolocationOptions.Builder
-
Uses of GeolocationOptions.Builder in com.vaadin.flow.component.geolocation
Methods in com.vaadin.flow.component.geolocation that return GeolocationOptions.BuilderModifier and TypeMethodDescriptionstatic GeolocationOptions.BuilderGeolocationOptions.builder()Starts building aGeolocationOptionsinstance.GeolocationOptions.Builder.highAccuracy(boolean highAccuracy) Requests the most accurate reading the device can produce (typically GPS on mobile, coarse network lookup on desktop).GeolocationOptions.Builder.maximumAge(int maximumAgeMillis) Sets how old a cached reading may be, in milliseconds.GeolocationOptions.Builder.maximumAge(@Nullable Duration maximumAge) Sets how old a cached reading may be while still being acceptable as an answer to this request.GeolocationOptions.Builder.timeout(int timeoutMillis) Sets the maximum time in milliseconds to wait for a position before the request fails withGeolocationErrorCode.TIMEOUT.Sets the maximum time to wait for a position before the request fails withGeolocationErrorCode.TIMEOUT.