create
public final static ContentDescriptor create(Uri content, Context context, String mimeType, String fileName, String friendlyName)
Constructs new ContentDescriptor with android.net.Uri data.
Parameters
content
Uri for content to be attached, usually a content URI
mimeType
MIME type of data
fileName
obscured name of file
friendlyName
friendly name of file
See also
public final static ContentDescriptor create(ByteArray content, String mimeType, String fileName, String friendlyName)
Constructs new ContentDescriptor with ByteArray data.
Parameters
content
DataSource described
mimeType
MIME type of data
fileName
obscured name of file
friendlyName
friendly name of file