Interface GeolocationTrackerSession
public interface GeolocationTrackerSession
View into a tracker session managed by the simulator. Returned by
GeolocationSimulator.activeTrackers().- Since:
- 1.1
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisActive()Whether the tracker is currently receiving updates.@Nullable com.vaadin.flow.component.geolocation.GeolocationOptionsoptions()Options the tracker was started with, ornull.com.vaadin.flow.component.Componentowner()The component that owns this tracker session.
-
Method Details
-
owner
com.vaadin.flow.component.Component owner()The component that owns this tracker session.- Returns:
- the component that started tracking
-
options
@Nullable com.vaadin.flow.component.geolocation.GeolocationOptions options()Options the tracker was started with, ornull.- Returns:
- the options tracking was started with
-
isActive
boolean isActive()Whether the tracker is currently receiving updates.- Returns:
truewhile the session is still tracking
-