Updating event and auth data
Several features of the Maestro SDK rely on the client app sending updates to the event ID which are used to retrieve user and event-specific information.
For this, ensure that you update the flow of auth data upon every change, i.e. changes to the logged in user, and ensure that the flow emits null when the user is logged out.
override fun authData(): StateFlow<MaestroAuthData?>
On the SDK instance, call the following to notify the SDK of the changes to the currently playing event:
fun onEventDataUpdated(data: MaestroEventData?)
Note: send null
when the event is not relevant (not playing) any longer.