UNPKG

emotiv-ts

Version:

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

11 lines (10 loc) 538 B
import type { w3cwebsocket } from 'websocket'; import { Format } from "../enums/record-format.enum"; import { DataStreamType } from "../enums/data-stream.enum"; export declare class RecordService { socket: w3cwebsocket; constructor(socket: w3cwebsocket); startRecord(recordName: string): Promise<unknown>; stopRecord(authToken: string, sessionId: string): Promise<unknown>; exportRecord(authToken: string, destinationFolder: string, format: Format, recordIds: string[], streams: DataStreamType[]): Promise<unknown>; }