UNPKG

emotiv-ts

Version:

A Typescript library that wraps the Cortex API functionalities to communicate with Emotiv headsets

14 lines (13 loc) 454 B
import { CortexRequest } from "../../internal/cortex-request"; import { Requests } from "../../../enums/internal/emotiv.requests"; export class RequestAccess extends CortexRequest { constructor(application) { super(); this.id = Requests.REQUEST_ACCESS; this.method = "requestAccess"; this.params = { "clientId": application.clientId, "clientSecret": application.clientSecret }; } }