BrainBit foe developers Subscribe for updates Visit website
Home
SDK
Windows
iOS
Android
DotNet
Web
Device

NTDeviceTraits

A device feature class that indicates whether it has certain channels.

Description

hasChannels

Function. Checking the existence of channels of a certain type.

Checks if the device supports a channel of the requested type.

Parameters:

withType

Description: currently connected device.

Data type: NTDevice

channelType

Description: channel type.

Data type: NTChannelType

Return value:

Description: The presence of a channel of a certain type.

Data type: bool.

getChannelInfoArray

 

The presence of a channel of a certain type.

Returns a list of information about channels of a certain type.

Parameters:

withType

Description: currently connected device.

Data type: NTDevice

channelType

Description: channel type.

Data type: NTChannelType

error

Description: Function execution error.

Data type: NSErrorPointer

Return value:

Description: List of information about channels of the requested type.

Data type: [NTChannelInfo].