start Notify Event Changes
fun BlueGPSLib.startNotifyEventChanges(streamType: StreamType, outputEvents: List<String>, tagIdList: List<String>? = null, callbackHandler: (Event) -> Unit? = null, onStop: (String) -> Unit? = null)
Accessory method for activate the notify generic event. If a previously job is active, its stopped and a new job started with the new configuration.
Parameters
stream Type
type of the stream.
output Events
List of events to be notified for the specific types of stream.
tag Id List
List of tag id to monitoring. If empty receive notification for all tags.
callback Handler
returns a generic event.
on Stop
callback when the connection with the server is closed.