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