ShareTarget.Params

public static class ShareTarget.Params
extends Object

java.lang.Object
   ↳ androidx.browser.trusted.sharing.ShareTarget.Params


Contains parameter names to be used for the data being shared.

Summary

Constants

String KEY_FILES

Bundle key for files.

String KEY_TEXT

Bundle key for text.

String KEY_TITLE

Bundle key for title.

Fields

public final List<ShareTarget.FileFormField> files

Defines form fields for the files being shared, see ShareTarget.FileFormField.

public final String text

The name of the query parameter used for the body of the message being shared.

public final String title

The name of the query parameter used for the title of the message being shared.

Public constructors

Params(String title, String text, List<ShareTarget.FileFormField> files)

Creates a ShareTarget.Params with the given parameters.

Inherited methods

Constants

KEY_FILES

public static final String KEY_FILES

Bundle key for