PMTsrSenderImpl

class PMTsrSenderImpl(val context: Context, val cfg: PartyConfig = PartyConfigProduction) : PMTsrSender

Implementation for sending messages via CMD-interface

Constructors

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

Functions

Link copied to clipboard
open override fun broadcast(tsr: PMTsr)

Intent to start activity which will handle the command

Link copied to clipboard
open fun speedLimit(value: Int, speedUnit: PMTsrSignUnit = PMTsrSignUnit.Undefined)

Starting event for speed limit

Link copied to clipboard
open fun speedLimitEnd()

Ending event for speed limit

Properties

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