acceptLicense

When users any Emotiv app or any apps using Cortex lib SDK, users must accept Emotiv's licensing agreement. The developer should develop an UI to ask user to accept it, if the users agrees, call acceptLicense API.

An EmotivID user must only accept once until we change the licensing agreement.

Parameters

Name

Type

Description

cortexToken

string

The token returned from authorize API

Result

The result is an object with these fields:

Name

Type

Description

accepted

boolean

should be true

message

string

shoud be "Accept License Agreement successfully"

Example

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "acceptLicense",
  "params": {
    "cortexToken":"a token here"
  }
}

Last updated