Cortex API
  • Getting Started
  • Connecting to the Cortex API
  • Overview of API flow
  • Authentication
    • getCortexInfo
    • getUserLogin
    • requestAccess
    • hasAccessRight
    • authorize
    • generateNewToken
    • getUserInformation
    • getLicenseInfo
  • Headsets
    • controlDevice
    • queryHeadsets
    • updateHeadset
    • updateHeadsetCustomInfo
    • syncWithHeadsetClock
    • Headset object
  • Sessions
    • createSession
    • updateSession
    • querySessions
    • Session object
  • Data Subscription
    • subscribe
    • unsubscribe
    • Data sample object
  • Records
    • createRecord
    • stopRecord
    • updateRecord
    • deleteRecord
    • exportRecord
    • queryRecords
    • getRecordInfos
    • configOptOut
    • requestToDownloadRecordData
    • Record object
  • Markers
    • injectMarker
    • updateMarker
    • Marker object
  • Subjects
    • createSubject
    • updateSubject
    • deleteSubjects
    • querySubjects
    • getDemographicAttributes
    • Subject object
  • BCI
    • queryProfile
    • getCurrentProfile
    • setupProfile
    • loadGuestProfile
    • getDetectionInfo
    • training
    • Readonly profile
  • Advanced BCI
    • getTrainedSignatureActions
    • getTrainingTime
    • facialExpressionSignatureType
    • facialExpressionThreshold
    • mentalCommandActiveAction
    • mentalCommandBrainMap
    • mentalCommandGetSkillRating
    • mentalCommandTrainingThreshold
    • mentalCommandActionSensitivity
  • Warning Objects
  • Error Codes
  • Troubleshooting Guide
  • Release Notes
  • cortexaccess tool
Powered by GitBook
On this page
  • Parameters
  • Result
  • Examples
  1. BCI

getCurrentProfile

This method returns the training profile that is currently loaded for a specific headset.

Parameters

Name

Type

Required

Description

cortexToken

string

yes

headset

string

yes

Result

The result is an object containing these fields:

Name

Type

Description

name

string

The name of the loaded profile, or null if no profile was loaded for this headset.

loadedByThisApp

boolean

true if the profile was loaded by your application, false if it was loaded by another application.

This field was added in Cortex 2.1

Examples

{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "getCurrentProfile",
    "params": {
        "cortexToken": "xxx",
        "headset": "EPOCPLUS-12341234"
    }
}
{
    "id": 1,
    "jsonrpc": "2.0",
    "result": {
        "name": "my profile",
        "loadedByThisApp": true
    }
}
PreviousqueryProfileNextsetupProfile

Last updated 1 year ago

A token returned by .

A headset id returned by .

authorize
queryHeadsets