Interface MembershipCardView

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void showBanner​(java.lang.String uri)
      This will be called by the presenter after successfully retrieving the banner URI from the stored preferences.
      void showBannerNotAvailable()
      This will be called by the presenter if it fails to retrieve the banner image URI from the stored preferences.
      void showProfile​(Profile profile)
      This will be called by the presenter after successfully receiving Profile information from the SDK.
      void showProfileNotAvailable​(java.lang.String error)
      This will be called by the presenter after failing to receive Profile information from the SDK.
      void showTierLabel​(java.lang.String label)
      This will be called by the presenter after successfully retrieving the tier label from the stored preferences.
      void showTierLabelNotAvailable()
      This will be called by the presenter if it fails to retrieve the tier label from the stored preferences.
    • Method Detail

      • showProfile

        void showProfile​(Profile profile)
        This will be called by the presenter after successfully receiving Profile information from the SDK.
        Parameters:
        profile - The Profile received.
      • showProfileNotAvailable

        void showProfileNotAvailable​(java.lang.String error)
        This will be called by the presenter after failing to receive Profile information from the SDK.
        Parameters:
        error - The error returned by the API call.
      • showBanner

        void showBanner​(java.lang.String uri)
        This will be called by the presenter after successfully retrieving the banner URI from the stored preferences.
        Parameters:
        uri - The banner image URI as a String object.
      • showBannerNotAvailable

        void showBannerNotAvailable()
        This will be called by the presenter if it fails to retrieve the banner image URI from the stored preferences.
      • showTierLabel

        void showTierLabel​(java.lang.String label)
        This will be called by the presenter after successfully retrieving the tier label from the stored preferences.
        Parameters:
        label - The tier label retrieved.
      • showTierLabelNotAvailable

        void showTierLabelNotAvailable()
        This will be called by the presenter if it fails to retrieve the tier label from the stored preferences.