| java.lang.Object | |
| ↳ | com.esri.core.map.popup.PopupMediaInfo |
The PopupMediaInfo class represents information about a media in the popup.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| enum | PopupMediaInfo.MEDIA_TYPE | Enumeration for popup media types. | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PopupMediaInfo() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | equals(Object obj) | ||||||||||
| static PopupMediaInfo |
fromJson(JsonParser parser)
Constructs a PopupMediaInfo object from its JSON representation.
| ||||||||||
| String |
getCaption()
Returns the popup media's caption.
| ||||||||||
| String |
getTitle()
Returns the popup media's title.
| ||||||||||
| PopupMediaInfo.MEDIA_TYPE |
getType()
Returns the popup media's type.
| ||||||||||
| PopupMediaValue |
getValue()
Returns the popup media's value.
| ||||||||||
| int | hashCode() | ||||||||||
| void |
setCaption(String caption)
Sets the popup media's caption.
| ||||||||||
| void |
setTitle(String title)
Sets the popup media's title.
| ||||||||||
| void |
setType(PopupMediaInfo.MEDIA_TYPE type)
Sets the popup media's type.
| ||||||||||
| void |
setValue(PopupMediaValue value)
Sets the popup media's value.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Constructs a PopupMediaInfo object from its JSON representation.
| parser | A JSON parser object whose position is set at the "mediaInfos" node. |
|---|
PopupMediaInfo object.| Exception | An exception that occurred during parsing. |
|---|
Sets the popup media's caption.
| caption | The media's caption |
|---|
Sets the popup media's title.
| title | The media's title |
|---|
Sets the popup media's type.
| type | The media's type |
|---|
Sets the popup media's value.
| value | The media's value |
|---|