Uses of Record Class
com.vaadin.flow.component.geolocation.GeolocationPosition
Packages that use GeolocationPosition
-
Uses of GeolocationPosition in com.vaadin.flow.component.geolocation
Method parameters in com.vaadin.flow.component.geolocation with type arguments of type GeolocationPositionModifier and TypeMethodDescriptionGeolocationWatcher.addPositionListener(SerializableConsumer<GeolocationPosition> onPosition, SerializableConsumer<GeolocationError> onError) Subscribes to position and error pushes from the watch.static voidGeolocation.getPosition(SerializableConsumer<GeolocationPosition> onSuccess, SerializableConsumer<GeolocationError> onError) Requests the user's current position once, using the current UI.static voidGeolocation.getPosition(SerializableConsumer<GeolocationPosition> onSuccess, SerializableConsumer<GeolocationError> onError, 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, GeolocationOptions options, UI ui) Requests the user's current position once on the given UI with tuning options.static voidGeolocation.getPosition(SerializableConsumer<GeolocationPosition> onSuccess, SerializableConsumer<GeolocationError> onError, UI ui) Requests the user's current position once on the given UI.