getLicenseInfo
This method returns information about the license currently used by your application.
Parameters
Result
The result is an object containing a license object and the isOnline flag.
An object containing all the information about the current license
True, if Cortex was able to get the license information from the EMOTIV cloud
False, if Cortex got the license information for its local cache
Example
{
"id": 1,
"jsonrpc": "2.0",
"method": "getLicenseInfo",
"params": {
"cortexToken": "xxx"
}
}
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"isOnline":true,
"license":{
"applications":["com.emotiv.emotivpro"],
"billingFrom":"2018-08-23T07:00:00.000+07:00",
"billingTo":"2019-09-23T07:00:00.000+07:00",
"deviceInfo":{
"deviceLimit":15,
"devicesPerSeat":3,
"sessionLimit":{"day":null,"month":null,"year":null}
},
"expired":false,
"extenderLimit":30,
"hardLimitTime":"2019-07-01T06:59:59.999+07:00",
"isCommercial":false,
"licenseId":"xxx",
"licenseName":"PRO license",
"localQuota":0,
"maxDebit":null,
"scopes":["eeg","pm"],
"seatCount":5,
"sessionCount":0,
"softLimitTime":"2019-06-24T06:59:59.999+07:00",
"totalDebit":0,
"totalRegisteredDevices":1,
"validFrom":"2018-08-23T07:00:00.000+07:00",
"validTo":"2019-09-24T06:59:59.999+07:00"
}
}
}