com.pusher.client.channel.PrivateChannel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pusher-java-client Show documentation
Show all versions of pusher-java-client Show documentation
This is a Java client library for Pusher, targeted at core Java and Android.
The newest version!
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