KudanAR - iOS  1.6.0
ARAPIKeyCpp Class Reference

Public Member Functions

void setAPIKey (const char *key)
 
bool isKeySet ()
 
bool isKeyValid ()
 
int getLicenseFeatures ()
 

Static Public Member Functions

static ARAPIKeyCppsharedInstance ()
 

Member Function Documentation

◆ getLicenseFeatures()

int ARAPIKeyCpp::getLicenseFeatures ( )
inline

Returns the KudanLicense::KDFeature enum corresponding to the features granted to the current API key, set by setAPIKey.

◆ isKeySet()

bool ARAPIKeyCpp::isKeySet ( )

Returns whether the application API key has been set, after which no other keys can be assigned.

◆ isKeyValid()

bool ARAPIKeyCpp::isKeyValid ( )
inline

Returns whether the API key, set by setAPIKey, is valid for the current application.

◆ setAPIKey()

void ARAPIKeyCpp::setAPIKey ( const char *  key)

Sets the application API key and checks for validity, printing the result to console.

◆ sharedInstance()

static ARAPIKeyCpp* ARAPIKeyCpp::sharedInstance ( )
inlinestatic

Returns the C++ APIKey manager singleton.


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