Package com.zendesk.connect
Class IpmActivity
- java.lang.Object
-
- AppCompatActivity
-
- com.zendesk.connect.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 fromIpmPayload.getLogo()
on the UI.void
displayIpm(com.zendesk.connect.IpmPayload ipmPayload)
Displays theIpmPayload
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 intentvoid
onBackPressed()
protected void
onCreate(Bundle savedInstanceState)
-
-
-
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 interfacecom.zendesk.connect.IpmMvp.View
- Parameters:
ipmPayload
- theIpmPayload
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 interfacecom.zendesk.connect.IpmMvp.View
- Parameters:
avatar
- the Bitmap loaded fromIpmPayload.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 interfacecom.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 interfacecom.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 interfacecom.zendesk.connect.IpmMvp.View
- Parameters:
intent
- theIntent
to start an activity with
-
-