Skip To Content ArcGIS for Developers Sign In Dashboard

PopupMedia Class

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: Esri::ArcGISRuntime::Object

This class was introduced in Esri::ArcGISRuntime 100.0.

Public Functions

PopupMedia(QObject *parent = nullptr)
virtual ~PopupMedia() override
QString caption() const
Esri::ArcGISRuntime::PopupMediaType popupMediaType() const
void setCaption(const QString &caption)
void setPopupMediaType(Esri::ArcGISRuntime::PopupMediaType popupMediaType)
void setTitle(const QString &title)
void setValue(Esri::ArcGISRuntime::PopupMediaValue *popupMediaValue)
QString title() const
Esri::ArcGISRuntime::PopupMediaValue *value() const

Detailed Description

Member Function Documentation

PopupMedia::PopupMedia(QObject *parent = nullptr)

Default constructor that takes an optional parent.

[override virtual] PopupMedia::~PopupMedia()

Destructor.

QString PopupMedia::caption() const

Returns the caption that is displayed for the media.

See also setCaption().

Esri::ArcGISRuntime::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(Esri::ArcGISRuntime::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(Esri::ArcGISRuntime::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().

Esri::ArcGISRuntime::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?