getData
Get the data of the AssistantStreamEvent using the provided serializer from the corresponding event type.
Parameters
Throws
IllegalStateException
if the AssistantStreamEvent data is null.
ClassCastException
if the AssistantStreamEvent data cannot be cast to the provided type.
Get the data of the AssistantStreamEvent using the provided serializer.
Throws
IllegalStateException
if the AssistantStreamEvent data is null.
ClassCastException
if the AssistantStreamEvent data cannot be cast to the provided type.