public interface BroadcastListener
Modifier and Type | Method and Description |
---|---|
void |
onBroadcast(byte[] data)
Invoked when received request to broadcast binary data.
|
void |
onBroadcast(String text)
Invoked when received request to broadcast text message.
|
void onBroadcast(String text)
text
- message to broadcast.void onBroadcast(byte[] data)
data
- data to broadcast.Copyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.