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