public class

PopupMediaInfo

extends Object
java.lang.Object
   ↳ com.esri.core.map.popup.PopupMediaInfo

Class Overview

The PopupMediaInfo class represents information about a media in the popup.

Summary

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

Public Constructors

public PopupMediaInfo ()

Public Methods

public boolean equals (Object obj)

public static PopupMediaInfo fromJson (JsonParser parser)

Constructs a PopupMediaInfo object from its JSON representation.

Parameters
parser A JSON parser object whose position is set at the "mediaInfos" node.
Returns
Throws
Exception An exception that occurred during parsing.

public String getCaption ()

Returns the popup media's caption.

Returns
  • caption

public String getTitle ()

Returns the popup media's title.

Returns
  • title

public PopupMediaInfo.MEDIA_TYPE getType ()

Returns the popup media's type.

Returns
  • type

public PopupMediaValue getValue ()

Returns the popup media's value.

Returns
  • value

public int hashCode ()

public void setCaption (String caption)

Sets the popup media's caption.

Parameters
caption The media's caption

public void setTitle (String title)

Sets the popup media's title.

Parameters
title The media's title

public void setType (PopupMediaInfo.MEDIA_TYPE type)

Sets the popup media's type.

Parameters
type The media's type

public void setValue (PopupMediaValue value)

Sets the popup media's value.

Parameters
value The media's value