SLSlamCpsServiceApiEndpoint

class SLSlamCpsServiceApiEndpoint(context: Context, config: SlamSDKConfig, client: OkHttpClient) : SLSlamCpsService

Constructors

Link copied to clipboard
constructor(context: Context, config: SlamSDKConfig, client: OkHttpClient)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
lateinit var json: SLJson
Link copied to clipboard
open override val location: StateFlow<SLSlamResponse?>

Current location. You can subscribe to this flow to get location updates Example:

Functions

Link copied to clipboard
open override fun hasIndoor(): Boolean
Link copied to clipboard
open override fun removeLocationUpdates(callback: (SLSlamResponse) -> Unit)

Remove location updates

Link copied to clipboard
open override fun requestLocationUpdates(callback: (SLSlamResponse) -> Unit)

Request location updates

Link copied to clipboard
open override fun start()
Link copied to clipboard
open override fun stop()
Link copied to clipboard
open override fun updateCps(pipeLineResults: List<SLPipeResult>)