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.
Link copied to clipboard
Order event
Functions
Link copied to clipboard
Content copied to clipboard
Adds a new geotag.
Content copied to clipboard
Adds a new geotag with expected location.
final static Result<HyperTrack.Location, HyperTrack.LocationError> addGeotag( String orderHandle, HyperTrack.OrderStatus orderStatus, Json.Object metadata)
Content copied to clipboard
Adds a new geotag with order status.
final static Result<HyperTrack.LocationWithDeviation, HyperTrack.LocationError> addGeotag( String orderHandle, HyperTrack.OrderStatus orderStatus, Json.Object metadata, HyperTrack.Location expectedLocation)
Content copied to clipboard
Adds a new geotag with expected location and order status.
Link copied to clipboard
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
final static Unit setDynamicPublishableKey(static String dynamicPublishableKey)
Content 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