startHomeWidgetEvent

fun BlueGPSLib.startHomeWidgetEvent(checkTimeout: Int = 30000, tagId: String, callbackHandler: (Event) -> Unit? = null, onStop: (String) -> Unit? = null)

Accessory method for Stream events for widgets of a specific user If a previously job is active, its stopped and a new job started with the new configuration.

Parameters

checkTimeout

: Int

tagId

: String.

callbackHandler

returns a generic event.

onStop

: ((String) -> Unit)?