FMLiveSwitchLicense Class Reference

A license. More...

Instance Methods

(NSString *) - accountId
 Gets the account identifier. More...
 
(bool) - checkWithMessage:
 Checks if the license is valid for this product. More...
 
(NSString *) - contactEmailAddress
 Gets the contact email address. More...
 
(NSString *) - contactName
 Gets the contact name. More...
 
(NSString *) - contactPhoneNumber
 Gets the contact phone number. More...
 
(FMLiveSwitchNullableInt *) - coreCount
 Gets the core count. More...
 
(NSString *) - id
 Gets the license identifier. More...
 
(bool) - isTrial
 Gets a value indicating whether this is a trial license. More...
 
(bool) - isValid
 Gets a value indicating whether this is a valid license. More...
 
(NSString *) - productCode
 Gets the product code. More...
 
(NSString *) - siteAddress
 Gets the site address. More...
 
(NSString *) - siteName
 Gets the site name. More...
 
(NSDate *) - validFrom
 Gets the "valid from" date. More...
 
(NSDate *) - validTo
 Gets the "valid to" date. More...
 

Class Methods

(void) + checkKey
 Gets a value indicating whether a valid key has been set. More...
 
(FMLiveSwitchLicense *) + current
 Gets the current license. More...
 
(FMLiveSwitchLicense *) + parseKey:
 Parses a license key. More...
 
(void) + setKey:
 Sets the license key. More...
 

Detailed Description

A license.

Method Documentation

◆ accountId

- (NSString*) accountId

Gets the account identifier.

◆ checkKey

+ (void) checkKey

Gets a value indicating whether a valid key has been set.

◆ checkWithMessage:

- (bool) checkWithMessage: (NSString **)  message

Checks if the license is valid for this product.

Parameters
message

◆ contactEmailAddress

- (NSString*) contactEmailAddress

Gets the contact email address.

◆ contactName

- (NSString*) contactName

Gets the contact name.

◆ contactPhoneNumber

- (NSString*) contactPhoneNumber

Gets the contact phone number.

◆ coreCount

- (FMLiveSwitchNullableInt*) coreCount

Gets the core count.

◆ current

+ (FMLiveSwitchLicense*) current

Gets the current license.

◆ id

- (NSString*) id

Gets the license identifier.

◆ isTrial

- (bool) isTrial

Gets a value indicating whether this is a trial license.

◆ isValid

- (bool) isValid

Gets a value indicating whether this is a valid license.

◆ parseKey:

+ (FMLiveSwitchLicense*) parseKey: (NSString *)  key

Parses a license key.

Parameters
keyThe key.

◆ productCode

- (NSString*) productCode

Gets the product code.

◆ setKey:

+ (void) setKey: (NSString *)  key

Sets the license key.

Parameters
keyThe license key.

◆ siteAddress

- (NSString*) siteAddress

Gets the site address.

◆ siteName

- (NSString*) siteName

Gets the site name.

◆ validFrom

- (NSDate*) validFrom

Gets the "valid from" date.

◆ validTo

- (NSDate*) validTo

Gets the "valid to" date.