Skip to content

Obsolete Members for PopupAttachmentListModel

  • PopupAttachmentListModel
  • The following members of class PopupAttachmentListModel are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

    Public Types

    (deprecated) enum PopupAttachmentRoles { PopupAttachmentNameRole, PopupAttachmentContentTypeRole, PopupAttachmentSizeRole, PopupAttachmentLocalRole, PopupAttachmentAttachmentUrlRole, …, PopupAttachmentFullImageUrlRole }

    Member Type Documentation

    [deprecated] enum PopupAttachmentListModel::PopupAttachmentRoles

    This enum is deprecated. We strongly advise against using it in new code.

    This enum specifies the custom roles which can be used with PopupAttachmentListModel::data.

    ConstantValueDescription
    Esri::ArcGISRuntime::PopupAttachmentListModel::PopupAttachmentNameRoleQt::DisplayRoleThe name of the attachment.
    Esri::ArcGISRuntime::PopupAttachmentListModel::PopupAttachmentContentTypeRoleQt::UserRole + 1The MIME type of the attachment file.
    Esri::ArcGISRuntime::PopupAttachmentListModel::PopupAttachmentSizeRoleQt::UserRole + 2The size of the attachment in bytes.
    Esri::ArcGISRuntime::PopupAttachmentListModel::PopupAttachmentLocalRoleQt::UserRole + 3Whether the data for the attachments has been downloaded locally.
    Esri::ArcGISRuntime::PopupAttachmentListModel::PopupAttachmentAttachmentUrlRoleQt::UserRole + 4The URL of the attachment.
    Esri::ArcGISRuntime::PopupAttachmentListModel::PopupAttachmentPopupTypeRoleQt::UserRole + 5The type of popup attachment.
    Esri::ArcGISRuntime::PopupAttachmentListModel::PopupAttachmentEditStateRoleQt::UserRole + 6The popup attachment edit state.
    Esri::ArcGISRuntime::PopupAttachmentListModel::PopupAttachmentThumbnailUrlRoleQt::UserRole + 7The URL to the thumbnail.
    Esri::ArcGISRuntime::PopupAttachmentListModel::PopupAttachmentFullImageUrlRoleQt::UserRole + 8The URL to the full image.

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