Class IpmActivity

  • All Implemented Interfaces:
    com.zendesk.connect.IpmMvp.View


    public class IpmActivity
    extends AppCompatActivity
    implements com.zendesk.connect.IpmMvp.View
    • Constructor Summary

      Constructors 
      Constructor and Description
      IpmActivity() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void dismissIpm()
      Dismisses the IPM UI currently displayed to the user.
      void displayAvatar(Bitmap avatar)
      Displays the Bitmap loaded from IpmPayload.getLogo() on the UI.
      void displayIpm(com.zendesk.connect.IpmPayload ipmPayload)
      Displays the IpmPayload on the UI.
      void hideAvatar()
      Hides the avatar container on the UI.
      void launchActionDeepLink(Intent intent)
      Dismisses the IPM UI currently displayed to the user while starting an activity with the given intent
      void onBackPressed() 
      protected void onCreate(Bundle savedInstanceState) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IpmActivity

        public IpmActivity()
    • Method Detail

      • onCreate

        protected void onCreate(Bundle savedInstanceState)
      • onBackPressed

        public void onBackPressed()
      • displayIpm

        public void displayIpm(com.zendesk.connect.IpmPayload ipmPayload)
        Description copied from interface: com.zendesk.connect.IpmMvp.View

        Displays the IpmPayload on the UI.

        Specified by:
        displayIpm in interface com.zendesk.connect.IpmMvp.View
        Parameters:
        ipmPayload - the IpmPayload to be displayed
      • displayAvatar

        public void displayAvatar(Bitmap avatar)
        Description copied from interface: com.zendesk.connect.IpmMvp.View

        Displays the Bitmap loaded from IpmPayload.getLogo() on the UI.

        Specified by:
        displayAvatar in interface com.zendesk.connect.IpmMvp.View
        Parameters:
        avatar - the Bitmap loaded from IpmPayload.getLogo()
      • hideAvatar

        public void hideAvatar()
        Description copied from interface: com.zendesk.connect.IpmMvp.View

        Hides the avatar container on the UI.

        Specified by:
        hideAvatar in interface com.zendesk.connect.IpmMvp.View
      • dismissIpm

        public void dismissIpm()
        Description copied from interface: com.zendesk.connect.IpmMvp.View

        Dismisses the IPM UI currently displayed to the user.

        Specified by:
        dismissIpm in interface com.zendesk.connect.IpmMvp.View
      • launchActionDeepLink

        public void launchActionDeepLink(Intent intent)
        Description copied from interface: com.zendesk.connect.IpmMvp.View

        Dismisses the IPM UI currently displayed to the user while starting an activity with the given intent

        Specified by:
        launchActionDeepLink in interface com.zendesk.connect.IpmMvp.View
        Parameters:
        intent - the Intent to start an activity with