Interface PrivateChannel

    • Method Detail

      • trigger

        void trigger​(java.lang.String eventName,
                     java.lang.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. There are a number of restrictions enforced with client events. For full details see the client events documentation.
        Parameters:
        eventName - The name of the event to trigger. It must have a client- prefix.
        data - The data to be triggered with the event.