Skip To Content ArcGIS for Developers Sign In Dashboard

SubscriptionInfo Class

class Esri::ArcGISRuntime::SubscriptionInfo

Information about the user's subscription. More...

Header: #include <SubscriptionInfo>
Since: Esri::ArcGISRuntime 100.9
Inherits: Esri::ArcGISRuntime::Object

This class was introduced in Esri::ArcGISRuntime 100.9.

Public Functions

SubscriptionInfo(QObject *parent = nullptr)
QDateTime expiryDate() const
void setExpiryDate(const QDateTime &date)
void setState(const Esri::ArcGISRuntime::SubscriptionState &state)
Esri::ArcGISRuntime::SubscriptionState state() const

Detailed Description

An object of this class is provided by PortalInfo::subscriptionInfo.

See also PortalInfo.

Member Function Documentation

SubscriptionInfo::SubscriptionInfo(QObject *parent = nullptr)

Default constructor with an optional parent.

QDateTime SubscriptionInfo::expiryDate() const

Returns the expiry date of the user's subscription.

See also setExpiryDate().

void SubscriptionInfo::setExpiryDate(const QDateTime &date)

Sets the expiry date of the user's subscription to date.

See also expiryDate().

void SubscriptionInfo::setState(const Esri::ArcGISRuntime::SubscriptionState &state)

Sets the state of the user's subscription to state.

See also state().

Esri::ArcGISRuntime::SubscriptionState SubscriptionInfo::state() const

Returns the current state of the user's subscription.

See also setState().


Feedback on this topic?