Login Register Free Account
Trackerbird SDK v3 for Mac OS (C++)
TrackerbirdSDK::TBLicenseResult Class Reference

#include <TBLicenseResult.h>

Public Member Functions

 TBLicenseResult (TBLicenseStatus whitelistedStatus, TBLicenseStatus expiredStatus, TBLicenseStatus blacklistedStatus, TBLicenseStatus activatedStatus, TBKeyType keyType)
 Create an instance of TBLicenseResult class. More...
 
TBLicenseStatus getWhitelistedStatus () const
 Get the Whitelisted Status of the key.
 
TBLicenseStatus getExpiredStatus () const
 Get the Expired Status of the key.
 
TBLicenseStatus getBlacklistedStatus () const
 Get the Blacklisted Status of the key.
 
TBLicenseStatus getActivatedStatus () const
 Get the Activated Status of the key.
 
TBKeyType getKeyType () const
 Get the The Key Type.
 

Detailed Description

This class represents a response from the License Management methods in TBApp.

Enums

TBLicenseStatus

typedef enum
{
    TBLicenseStatusNA = -1,
    TBLicenseStatusFalse = 0,
    TBLicenseStatusTrue = 1
}
TBLicenseStatus;

TBKeyType

typedef enum
{
    TBKeyTypeNA = -1,
    TBKeyTypeEvaluation = 0,
    TBKeyTypePurchased,
    TBKeyTypeFreeware,
    TBKeyTypeUnknown,
    TBKeyTypeNFR,
    TBKeyTypeCustom1,
    TBKeyTypeCustom2,
    TBKeyTypeCustom3
}
TBKeyType;

Constructor & Destructor Documentation

TrackerbirdSDK::TBLicenseResult::TBLicenseResult ( TBLicenseStatus  whitelistedStatus,
TBLicenseStatus  expiredStatus,
TBLicenseStatus  blacklistedStatus,
TBLicenseStatus  activatedStatus,
TBKeyType  keyType 
)

Create an instance of TBLicenseResult class.

Accepts all of the four types of key status and the key type as well. For more information check the Enums section in Detailed Description.

Parameters
whitelistedStatusThe Whitelisted Status of the key.
expiredStatusThe Expired Status of the key.
blacklistedStatusThe Blacklisted Status of the key.
activatedStatusThe Activated Status of the key.
keyTypeThe The Key Type.

The documentation for this class was generated from the following file: