HyperTrack SDK MAUI
 
Loading...
Searching...
No Matches
HyperTrack.HyperTrack Class Reference

Classes

class  Error
 
interface  ICancellable
 
class  Json
 
class  Location
 
class  LocationError
 
class  LocationWithDeviation
 
class  Order
 
class  OrderStatus
 
class  Result< T, TE >
 

Static Public Member Functions

static Result< Location, LocationErrorAddGeotag (string orderHandle, OrderStatus orderStatus, Json.Object metadata)
 
static Result< LocationWithDeviation, LocationErrorAddGeotag (string orderHandle, OrderStatus orderStatus, Json.Object metadata, Location expectedLocation)
 
static Result< Location, LocationErrorGetLocation ()
 
static ICancellable Locate (Action< Result< Location, HashSet< Error > > > callback)
 
static ICancellable SubscribeToErrors (Action< HashSet< Error > > callback)
 
static ICancellable SubscribeToIsAvailable (Action< bool > callback)
 
static ICancellable SubscribeToIsTracking (Action< bool > callback)
 
static ICancellable SubscribeToLocation (Action< Result< Location, LocationError > > callback)
 
static ICancellable SubscribeToOrders (Action< Dictionary< string, Order > > callback)
 

Properties

static bool AllowMockLocation [get, set]
 
static string DeviceId [get]
 
static HashSet< ErrorErrors [get]
 
static bool IsAvailable [get, set]
 
static bool IsTracking [get, set]
 
static Json.Object Metadata [get, set]
 
static string Name [get, set]
 
static Dictionary< string, OrderOrders [get]
 
static string WorkerHandle [get, set]
 

Member Function Documentation

◆ AddGeotag() [1/2]

static Result< Location, LocationError > HyperTrack.HyperTrack.AddGeotag ( string orderHandle,
OrderStatus orderStatus,
Json.Object metadata )
inlinestatic

◆ AddGeotag() [2/2]

static Result< LocationWithDeviation, LocationError > HyperTrack.HyperTrack.AddGeotag ( string orderHandle,
OrderStatus orderStatus,
Json.Object metadata,
Location expectedLocation )
inlinestatic

◆ GetLocation()

static Result< Location, LocationError > HyperTrack.HyperTrack.GetLocation ( )
inlinestatic

◆ Locate()

static ICancellable HyperTrack.HyperTrack.Locate ( Action< Result< Location, HashSet< Error > > > callback)
inlinestatic

◆ SubscribeToErrors()

static ICancellable HyperTrack.HyperTrack.SubscribeToErrors ( Action< HashSet< Error > > callback)
inlinestatic

◆ SubscribeToIsAvailable()

static ICancellable HyperTrack.HyperTrack.SubscribeToIsAvailable ( Action< bool > callback)
inlinestatic

◆ SubscribeToIsTracking()

static ICancellable HyperTrack.HyperTrack.SubscribeToIsTracking ( Action< bool > callback)
inlinestatic

◆ SubscribeToLocation()

static ICancellable HyperTrack.HyperTrack.SubscribeToLocation ( Action< Result< Location, LocationError > > callback)
inlinestatic

◆ SubscribeToOrders()

static ICancellable HyperTrack.HyperTrack.SubscribeToOrders ( Action< Dictionary< string, Order > > callback)
inlinestatic

Property Documentation

◆ AllowMockLocation

bool HyperTrack.HyperTrack.AllowMockLocation
staticgetset

◆ DeviceId

string HyperTrack.HyperTrack.DeviceId
staticget

◆ Errors

HashSet<Error> HyperTrack.HyperTrack.Errors
staticget

◆ IsAvailable

bool HyperTrack.HyperTrack.IsAvailable
staticgetset

◆ IsTracking

bool HyperTrack.HyperTrack.IsTracking
staticgetset

◆ Metadata

Json.Object HyperTrack.HyperTrack.Metadata
staticgetset

◆ Name

string HyperTrack.HyperTrack.Name
staticgetset

◆ Orders

Dictionary<string, Order> HyperTrack.HyperTrack.Orders
staticget

◆ WorkerHandle

string HyperTrack.HyperTrack.WorkerHandle
staticgetset

The documentation for this class was generated from the following files: