public class Photo extends ActivityObject
The "photo" object type represents a graphical still image.
The "photo" Object type is identified by the URI http://activitystrea.ms/schema/1.0/photo.
A photo has the following additional components:
- Thumbnail
- A link to a thumbnail version of the image. Represented by the Representative Image component of the base Object Construct. Processors MAY ignore thumbnails that are of an inappropriate size for their user interface.
- Larger Image
- A Media Link Construct linking to a larger -- ideally, full-size -- version of the photo intended for standalone viewing. Represented in JSON as a property named fullImage whose value is a JSON object with properties as defined in [TODO: xref the JSON serialization of a Media Link Construct].
Constructor and Description |
---|
Photo() |
Modifier and Type | Method and Description |
---|---|
String |
getTypeIRI() |
getAddress, getLocation, setAddress, setLocation
clone, equals, findRelatedLink, getAlternateLinks, getAuthors, getCategories, getContents, getContributors, getCreated, getForeignMarkup, getId, getIssued, getModified, getModule, getModules, getOtherLinks, getPublished, getRights, getSource, getSummary, getTitle, getTitleEx, getUpdated, getXmlBase, hashCode, isMediaEntry, setAlternateLinks, setAuthors, setCategories, setContents, setContributors, setCreated, setForeignMarkup, setId, setIssued, setModified, setModules, setOtherLinks, setPublished, setRights, setSource, setSummary, setTitle, setTitleEx, setUpdated, setXmlBase, toString
public String getTypeIRI()
getTypeIRI
in class ActivityObject
Copyright © 2020. All rights reserved.