ContentDescriptor

public interface ContentDescriptor

Container class for upload of attachment to backend. This class holds both the blob and its metadata.

Types

Link copied to clipboard
public class Companion
Link copied to clipboard
public class DataSource

Describes where the data in a content descriptor originates.

Functions

Link copied to clipboard

Attachment content.

Link copied to clipboard
public abstract String getFileName()

Name of provided in content. Should contain the file name extension corresponding to the mimeType. Note: Either mimeType must be specified or fileName must include a valid extension.

Link copied to clipboard
public abstract String getFriendlyName()

Friendly name provided in content.

Link copied to clipboard
public abstract String getMimeType()

Mime type of provided content. It's required to properly deserialize the file after upload.