PopupMedia Class

  • PopupMedia
  • class Esri::ArcGISRuntime::PopupMedia

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

    Header: #include <PopupMedia.h>
    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().

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

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close