
com.pusher.client.channel.PrivateChannel Maven / Gradle / Ivy
package com.pusher.client.channel;
/**
* Represents a subscription to a private channel.
*/
public interface PrivateChannel extends Channel {
/**
* 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. There are a number of restrictions enforced with client
* events. For full details see the client events
* documentation.
*
* @param eventName
* The name of the event to trigger. It must have a
* client-
prefix.
* @param data
* The data to be triggered with the event.
*/
void trigger(String eventName, String data);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy