Information about the user's subscription. More...
Header: | #include <SubscriptionInfo.h> |
Since: | Esri::ArcGISRuntime 100.9 |
Inherits: | Esri::ArcGISRuntime::Object |
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
[explicit]
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().