BioRadio SDK - Java Android  1.1
com.glneurotech.devices.bioradio.configuration.EventMarkerChannelConfiguration Class Reference
Inheritance diagram for com.glneurotech.devices.bioradio.configuration.EventMarkerChannelConfiguration:
com.glneurotech.devices.bioradio.configuration.ChannelConfiguration

Public Member Functions

ChannelTypeCode getTypeCode ()
 
final TransitionSensitivity getTransition ()
 
final void setTransition (TransitionSensitivity value)
 
final EventButtonPolarity getPolarity ()
 
final void setPolarity (EventButtonPolarity value)
 
 EventMarkerChannelConfiguration ()
 
 EventMarkerChannelConfiguration (byte[] bytes) throws IOException
 
byte [] getBytes () throws IOException
 
boolean equals (Object obj)
 
int hashCode ()
 
- Public Member Functions inherited from com.glneurotech.devices.bioradio.configuration.ChannelConfiguration
abstract ChannelTypeCode getTypeCode ()
 
final String getChannelType ()
 
final int getChannelIndex ()
 
final void setChannelIndex (int value)
 
final String getName ()
 
final void setName (String value)
 
final boolean getEnabled ()
 
final void setEnabled (boolean value)
 
final boolean getSaved ()
 
final void setSaved (boolean value)
 
final boolean getStreamed ()
 
final void setStreamed (boolean value)
 
final int getPresetCode ()
 
final void setPresetCode (int value)
 
final boolean getConnected ()
 
final void setConnected (boolean value)
 
 ChannelConfiguration ()
 
byte [] getBytes () throws IOException
 
boolean equals (Object obj)
 
int hashCode ()
 
final void assignFrom (Object channelConfig)
 
final int getExternalSensorPodId ()
 

Additional Inherited Members

- Static Public Attributes inherited from com.glneurotech.devices.bioradio.configuration.ChannelConfiguration
static final int CustomParametersStartIndex = 35
 
static final int MaxChannelNameLength = 30
 
- Protected Member Functions inherited from com.glneurotech.devices.bioradio.configuration.ChannelConfiguration
 ChannelConfiguration (byte[] bytes) throws IOException
 

Detailed Description

Represents the configuration of a BioRadio event marker channel.

Constructor & Destructor Documentation

◆ EventMarkerChannelConfiguration() [1/2]

com.glneurotech.devices.bioradio.configuration.EventMarkerChannelConfiguration.EventMarkerChannelConfiguration ( )

Default constructor

◆ EventMarkerChannelConfiguration() [2/2]

com.glneurotech.devices.bioradio.configuration.EventMarkerChannelConfiguration.EventMarkerChannelConfiguration ( byte []  bytes) throws IOException

Constructor initializes object based on the passed byte array

Parameters
bytesTake a byte array as parameter.
Exceptions
IOException
See also
getBytes()

Member Function Documentation

◆ equals()

boolean com.glneurotech.devices.bioradio.configuration.EventMarkerChannelConfiguration.equals ( Object  obj)

Performs a logical comparison based on the contents of this object versus the passed object

Parameters
objTake an object as parameter.
Returns
boolean

◆ getBytes()

byte [] com.glneurotech.devices.bioradio.configuration.EventMarkerChannelConfiguration.getBytes ( ) throws IOException

Gets a byte array repreenting this object

Returns
byte[]
Exceptions
IOException
See also
EventMarkerChannelConfiguration(byte[] array)

◆ getPolarity()

final EventButtonPolarity com.glneurotech.devices.bioradio.configuration.EventMarkerChannelConfiguration.getPolarity ( )

Indicates whether the button is configured to be active high or active low.

When set to ActiveHigh, this channel will output a 0 when the button is not pressed. When pressed, the channel will output a 1. Likewise, when set to ActiveLow, the channel will output a 1 in its unpressed state and a 0 when pressed.

Returns
EventButtonPolarity

◆ getTransition()

final TransitionSensitivity com.glneurotech.devices.bioradio.configuration.EventMarkerChannelConfiguration.getTransition ( )

Gets the TransitionSensitivity of this channel. The default is Level.

Returns
TransitionSensitivity

◆ getTypeCode()

ChannelTypeCode com.glneurotech.devices.bioradio.configuration.EventMarkerChannelConfiguration.getTypeCode ( )

◆ hashCode()

int com.glneurotech.devices.bioradio.configuration.EventMarkerChannelConfiguration.hashCode ( )

Gets a consistent numeric value based on the contents of this object

Returns
int

◆ setPolarity()

final void com.glneurotech.devices.bioradio.configuration.EventMarkerChannelConfiguration.setPolarity ( EventButtonPolarity  value)

Indicates whether the button is configured to be active high or active low.

When set to ActiveHigh, this channel will output a 0 when the button is not pressed. When pressed, the channel will output a 1. Likewise, when set to ActiveLow, the channel will output a 1 in its unpressed state and a 0 when pressed.

Parameters
valueTake an EventButtonPolarity value as parameter.

◆ setTransition()

final void com.glneurotech.devices.bioradio.configuration.EventMarkerChannelConfiguration.setTransition ( TransitionSensitivity  value)

Sets the TransitionSensitivity of this channel. The default is Level.

Parameters
valueTake a TransitionSensitivity value as parameter.

The documentation for this class was generated from the following file: