getLicenseInfo

This method returns information about the license currently used by your application.

Parameters

Name

Type

Required

Description

cortexToken

string

yes

A token returned by authorize

Result

The result is an object containing a license object and the isOnline flag.

Name

Type

Description

license

object

An object containing all the information about the current license

isOnline

boolean

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"
    }
}

Last updated