start Widget Room Id Event
fun BlueGPSLib.startWidgetRoomIdEvent(checkTimeout: Int = 30000, roomId: String, callbackHandler: (Event) -> Unit? = null, onStop: (String) -> Unit? = null)
Accessory method for Stream events of room widgets. If a previously job is active, its stopped and a new job started with the new configuration.
Parameters
room Id
: String
callback Handler
returns a generic event.
on Stop
: ((String) -> Unit)?