class Glass::TimelineItem::Attachment
Represents media content, such as a photo, that can be attached to a timeline item.
Constants
- TYPE_AUDIO
- TYPE_IMAGE
- TYPE_VIDEO
Attributes
contentType[RW]
The MIME type of the attachment. (supported content types are ‘image/*’, ‘video/*’ and ‘audio/*’).
contentUrl[RW]
The URL for the content.
id[R]
The ID of the attachment.
isProcessingContent[R]
Indicates that the contentUrl is not available because the attachment content is still being processed. If the caller wishes to retrieve the content, it should try again later.