The following members of class PortalItem are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(obsolete) | PortalItem(const QString &json, Esri::ArcGISRuntime::Portal *portal, QObject *parent = nullptr) |
(obsolete) QString | accessAndUseConstraintsHtml() const |
(obsolete) void | setType(Esri::ArcGISRuntime::PortalItemType type) |
Member Function Documentation
PortalItem::PortalItem (const QString &json, Esri::ArcGISRuntime::Portal *portal, QObject *parent = nullptr)
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Constructor that accepts JSON (json), a Portal (portal), and an optional parent. This constructor is obsolete, prefer to use fromJson function.
QString PortalItem::accessAndUseConstraintsHtml () const
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Returns the access and use constraints HTML.
This function is deprecated in 100.4.0. Use termsOfUse instead.
void PortalItem::setType (Esri::ArcGISRuntime::PortalItemType type)
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Sets the item's type to type.
This function is deprecated from 100.6 onwards. Use constructor with PortalItemType instead.
Note: Beyond being deprecated, the setter also no longer functions and is a no-op method. This is because the Portal Rest API does not allow changing the type of an existing PortalItem.
See also type().