Uses of Record Class
com.vaadin.flow.component.geolocation.GeolocationOptions
Packages that use GeolocationOptions
-
Uses of GeolocationOptions in com.vaadin.flow.component.geolocation
Methods in com.vaadin.flow.component.geolocation that return GeolocationOptionsModifier and TypeMethodDescriptionGeolocationOptions.Builder.build()Creates a newGeolocationOptionsfrom this builder's current state.Methods in com.vaadin.flow.component.geolocation with parameters of type GeolocationOptionsModifier and TypeMethodDescriptionCompletableFuture<com.vaadin.flow.component.geolocation.GeolocationOutcome> GeolocationClient.get(@Nullable GeolocationOptions options) Issues a one-shot position request.static voidGeolocation.getPosition(SerializableConsumer<GeolocationPosition> onSuccess, SerializableConsumer<GeolocationError> onError, @Nullable GeolocationOptions options) Requests the user's current position once, using the current UI, with tuning options.static voidGeolocation.getPosition(SerializableConsumer<GeolocationPosition> onSuccess, SerializableConsumer<GeolocationError> onError, @Nullable GeolocationOptions options, UI ui) Requests the user's current position once on the given UI with tuning options.GeolocationClient.startWatch(Component owner, @Nullable GeolocationOptions options, SerializableConsumer<GeolocationResult> onUpdate) Starts a watch session bound toowner.static GeolocationWatcherGeolocation.watchPosition(Component owner, @Nullable GeolocationOptions options) Starts continuously watching the user's position with tuning options, tied to the owner component's lifecycle.