MediaPopupElement Class

  • MediaPopupElement
  • class Esri::ArcGISRuntime::MediaPopupElement

    Represents a pop-up element of type media that is displayed in a pop-up for a geoelement. More...

    Header: #include <MediaPopupElement>
    Since: Esri::ArcGISRuntime 100.14
    Inherits: Esri::ArcGISRuntime::PopupElement

    Public Functions

    MediaPopupElement(const QList<Esri::ArcGISRuntime::PopupMedia *> &media, QObject *parent = nullptr)
    virtual ~MediaPopupElement() override
    QString description() const
    Esri::ArcGISRuntime::PopupMediaListModel *media() const
    void setDescription(const QString &description)
    void setTitle(const QString &title)
    QString title() const

    Detailed Description

    See also PopupElementType and PopupElement.

    Member Function Documentation

    MediaPopupElement::MediaPopupElement(const QList<Esri::ArcGISRuntime::PopupMedia *> &media, QObject *parent = nullptr)

    Creates a new media pop-up element with the given QList of PopupMedia.

    • media - An QList of PopupMedia objects that define images and charts displayed in the pop-up window.
    • parent - The optional parent QObject.

    [override virtual] MediaPopupElement::~MediaPopupElement()

    Destructor.

    QString MediaPopupElement::description() const

    Returns a string value describing the element in detail. Can be an empty string.

    See also setDescription().

    Esri::ArcGISRuntime::PopupMediaListModel *MediaPopupElement::media() const

    Returns a PopupMediaListModel of PopupMedia objects that define images and charts displayed in the pop-up window.

    void MediaPopupElement::setDescription(const QString &description)

    Sets the description to description.

    See also description.

    void MediaPopupElement::setTitle(const QString &title)

    Sets the title to title.

    See also title.

    QString MediaPopupElement::title() const

    Returns a string value indicating what the element represents. Can be an empty string.

    See also setTitle().

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.