Interface SubscriptionListener

    • Method Detail

      • onSubscribed

        void onSubscribed​(String subscriptionId)
        Gets called when the subscription is successfully registered at the provider. Since the onSubscribed callback is called by a communication middleware thread, it should not be blocked, wait for user interaction, or do larger computation.
        Parameters:
        subscriptionId - the subscription id of the subscription as string