@neurosity/sdk
Version:
Neurosity SDK
20 lines (19 loc) • 616 B
TypeScript
export declare type OSVersion = string;
export interface DeviceInfo {
deviceId: string;
deviceNickname: string;
channelNames: string[];
channels: number;
samplingRate: number;
manufacturer: string;
model: string;
modelName: string;
modelVersion: string;
osVersion: OSVersion;
apiVersion: string;
emulator?: boolean;
}
declare type DeviceSelectorKeyValue = [string, string | number | string[]];
declare type DeviceSelectorFunction = (devices: DeviceInfo[]) => DeviceInfo;
export declare type DeviceSelector = DeviceSelectorKeyValue | DeviceSelectorFunction;
export {};