Interface ChannelEventListener

    • Method Detail

      • onSubscriptionSucceeded

        void onSubscriptionSucceeded​(java.lang.String channelName)

        Callback that is fired when a subscription success acknowledgement message is received from Pusher after subscribing to the channel.

        For public channels this callback will be more or less immediate, assuming that you are connected to Pusher at the time of subscription. For private channels this callback will not be fired unless you are successfully authenticated.

        Parameters:
        channelName - The name of the channel that was successfully subscribed.