public class

ShareTarget

extends Object
java.lang.Object
   ↳ com.pspdfkit.document.sharing.ShareTarget

Class Overview

Defines single target for share action.

Summary

Public Constructors
ShareTarget(String packageName, String label, Drawable icon, ShareAction shareAction)
Public Methods
Drawable getIcon()
Returns icon of the target app.
String getLabel()
Returns name of the target app displayed to the user in share dialog.
String getPackageName()
Returns share target package name.
ShareAction getShareAction()
Returns share action used for sharing to share target.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ShareTarget (String packageName, String label, Drawable icon, ShareAction shareAction)

Parameters
packageName Package name of the target app.
label Label of the target app.
icon Icon of the target app.
shareAction Action used for sharing.

Public Methods

public Drawable getIcon ()

Returns icon of the target app.

public String getLabel ()

Returns name of the target app displayed to the user in share dialog.

public String getPackageName ()

Returns share target package name.

public ShareAction getShareAction ()

Returns share action used for sharing to share target.