Emotiv.EdkDll.IS_GetHeadsetOn C# (CSharp) Method

IS_GetHeadsetOn() public static method

public static IS_GetHeadsetOn ( IntPtr state ) : Int32
state System.IntPtr
return System.Int32
        public static Int32 IS_GetHeadsetOn(IntPtr state)
        {
            return Unmanaged_IS_GetHeadsetOn(state);
        }

Usage Example

Example #1
0
 /// <summary>
 /// Return whether the headset has been put on correctly or not
 /// </summary>
 /// <remarks>
 /// If the headset cannot not be detected on the head, then signal quality will not report
 /// any results for all the channels
 /// </remarks>
 /// <returns>int (1: On, 0: Off)</returns>
 public Int32 GetHeadsetOn()
 {
     return(EdkDll.IS_GetHeadsetOn(hEmoState));
 }
EdkDll