Hyper Track
The main entry point for the HyperTrack SDK
Types
Link copied to clipboard
Link copied to clipboard
The reason for why the SDK doesn't have a fresh location.
Link copied to clipboard
Geotag location with deviation from expected location in meters.
Functions
Link copied to clipboard
final static Result<HyperTrack.Location, HyperTrack.LocationError> addGeotag(Json.Object data)
Content copied to clipboard
Adds a new geotag
final static Result<HyperTrack.LocationWithDeviation, HyperTrack.LocationError> addGeotag(Json.Object data, HyperTrack.Location expectedLocation)
Content copied to clipboard
Adds a new geotag with expected location
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
final static Result<HyperTrack.Location, HyperTrack.LocationError> getLocation()
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
final static HyperTrack.Cancellable locate(Function1<Result<HyperTrack.Location, Set<HyperTrack.Error>>, Unit> callback)
Content copied to clipboard
Requests one-time location update and returns the location once it is available, or error.
Link copied to clipboard
final Unit registerLocationService(PluginInfo<LocationServices> locationServices)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
final static HyperTrack.Cancellable subscribeToErrors(Function1<Set<HyperTrack.Error>, Unit> callback)
Content copied to clipboard
Subscribe to tracking errors
Link copied to clipboard
final static HyperTrack.Cancellable subscribeToIsAvailable(Function1<Boolean, Unit> callback)
Content copied to clipboard
Subscribe to availability changes
Link copied to clipboard
final static HyperTrack.Cancellable subscribeToIsTracking(Function1<Boolean, Unit> callback)
Content copied to clipboard
Subscribe to tracking intent changes
Link copied to clipboard
final static HyperTrack.Cancellable subscribeToLocation(Function1<Result<HyperTrack.Location, HyperTrack.LocationError>, Unit> callback)
Content copied to clipboard
Subscribe to location changes
Properties
Link copied to clipboard
private final static Result<HyperTrack.Location, HyperTrack.LocationError> location
Content copied to clipboard