PMTpsSenderImpl

class PMTpsSenderImpl(val context: Context, val cfg: PartyConfig = PartyConfigProduction) : PMTpsSender

Implementation for sending messages via TPS-interface

Constructors

Link copied to clipboard
fun PMTpsSenderImpl(context: Context, cfg: PartyConfig = PartyConfigProduction)

Functions

Link copied to clipboard
open override fun broadcast(tpsEvents: PMTpsEvents)

Intent to start activity which will handle the command

Link copied to clipboard
open fun telematicsEvents(events: PMTpsEvents)
open fun telematicsEvents(correlationId: String? = null, events: List<PMTpsEvent>)

Send Telematics PreSafe events

open override fun telematicsEvents(payload: ByteArray)

Send Telematics PreSafe events encoded as flatbuffers ByteArray

Properties

Link copied to clipboard
Link copied to clipboard
val context: Context