Represents an attachment belonging to a popup. Wraps the Attachment object and add additional properties and method to support displaying attachments in a popup.
The underlying Attachment.
The MIME content type of the PopupAttachment.
The local temporary filepath where we store the attachment once it is loaded.
A value indicating whether "loading" (fetching the data) can be accomplished without using the network.
The name of the PopupAttachment.
The size of the PopupAttachment in bytes.
The type of the PopupAttachment.
The load status.
Creates asynchronously the full image for displaying the attachment in full screen or some UI larger than a thumbnail. This is only supported if the PopupAttachment.type is PopupAttachmentType.Image.
Creates asynchronously a thumbnail image with the specified width and height. This is only supported if the PopupAttachment.type is PopupAttachmentType.Image.
Cancels loading metadata for the Loadable object.
Loads the metadata for the object.
Loads or retries loading metadata for the object.