&nbsp;T&nbsp;readData(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;type)</pre>
<div class="block">Read event data as a given Java type.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - generic event data type</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - Java type to be used for event data de-serialization.</dd>
<dt><span cl