LSLChannelFormat enum
The stream info channel formats.
The FFI side of a format (lslFormat, ffiType, dartType) is an
extension in package:liblsl.
- Inheritance
- Available extensions
Values
- float32 → const LSLChannelFormat
- double64 → const LSLChannelFormat
- int8 → const LSLChannelFormat
- int16 → const LSLChannelFormat
- int32 → const LSLChannelFormat
- int64 → const LSLChannelFormat
- string → const LSLChannelFormat
- undefined → const LSLChannelFormat
Properties
- byteWidth → int
-
Bytes per value; 0 for string and undefined.
no setter
- dartType → Type
-
Available on LSLChannelFormat, provided by the LSLChannelFormatNative extension
Gets the underlying Dart Type for the channel format.no setter - ffiType → Type
-
Available on LSLChannelFormat, provided by the LSLChannelFormatNative extension
Gets the underlying FFI NativeType for the channel format. @note This returns Type, not NativeType, because FFI types are not considered subtypes of NativeType.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isInteger → bool
-
no setter
- isString → bool
-
no setter
- lslFormat → lsl_channel_format_t
-
Available on LSLChannelFormat, provided by the LSLChannelFormatNative extension
Gets the underlying lsl_channel_format_t value for the channel format.no setter - name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - outletFormat → LSLChannelFormat
-
The format an outlet of this format is made with: undefined has no
outlet of its own, so it is float32.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parse(
String name) → LSLChannelFormat -
The format named
namein a stream's info (channel_format). Some writers use "double" and "float".
Constants
-
values
→ const List<
LSLChannelFormat> - A constant List of the values in this enum, in order of their declaration.