Skip To Content ArcGIS for Developers Sign In Dashboard

PopupMedia Class

(Esri::ArcGISRuntime::PopupMedia)

The media that is displayed in a Popup for a GeoElement. More...

Header: #include <PopupMedia>
Since: Esri::ArcGISRuntime 100.0
Inherits: Object

Public Functions

PopupMedia(QObject *parent = nullptr)
~PopupMedia()
QString caption() const
PopupMediaType popupMediaType() const
void setCaption(const QString &caption)
void setPopupMediaType(PopupMediaType popupMediaType)
void setTitle(const QString &title)
void setValue(PopupMediaValue *popupMediaValue)
QString title() const
PopupMediaValue *value() const
  • 31 public functions inherited from QObject

Additional Inherited Members

Detailed Description

The media that is displayed in a Popup for a GeoElement.

Member Function Documentation

PopupMedia::PopupMedia(QObject *parent = nullptr)

Default constructor that takes an optional parent.

PopupMedia::~PopupMedia()

Destructor.

QString PopupMedia::caption() const

Returns the caption that is displayed for the media.

See also setCaption().

PopupMediaType PopupMedia::popupMediaType() const

Returns the media's type.

See also setPopupMediaType().

void PopupMedia::setCaption(const QString &caption)

Sets the caption that is displayed for the media.

See also caption().

void PopupMedia::setPopupMediaType(PopupMediaType popupMediaType)

Sets the popupMediaType.

See also popupMediaType().

void PopupMedia::setTitle(const QString &title)

Sets the title that is displayed for the media.

See also title().

void PopupMedia::setValue(PopupMediaValue *popupMediaValue)

Sets the optional popupMediaValue.

Only applicable for chart or image media types.

See also value().

QString PopupMedia::title() const

Returns the title that is displayed for the media.

See also setTitle().

PopupMediaValue *PopupMedia::value() const

Returns the optional media info value.

Only applicable for chart or image media types.

See also setValue().


Feedback on this topic?