T - The type of received data.@FunctionalInterface public interface SubscriptionListener<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onReceive(T data)
onReceive will be called when get the data sent by server.
|
void onReceive(T data)
data - The data send by server.Copyright © 2021. All rights reserved.