public interface PrivateChannel extends Channel
Modifier and Type | Method and Description |
---|---|
void |
trigger(String eventName,
String data)
Once subscribed it is possible to trigger client events on a private
channel as long as client events have been activated for the a Pusher
application.
|
bind, getName, isSubscribed, unbind
void trigger(String eventName, String data)
eventName
- The name of the event to trigger. It must have a
client-
prefix.data
- The data to be triggered with the event.Copyright © 2016 Pusher. All rights reserved.