SDKComponent enum
SDK component types for identification.
This enum consolidates what was previously CapabilityType and provides
a unified type for all AI capabilities in the SDK.
Usage
// Check what capabilities a module provides
final capabilities = MyModule.capabilities;
if (capabilities.contains(SDKComponent.llm)) {
// Module provides LLM services
}
Values
- llm → const SDKComponent
-
const SDKComponent('LLM', 'Language Model', 'llm') - stt → const SDKComponent
-
const SDKComponent('STT', 'Speech to Text', 'stt') - tts → const SDKComponent
-
const SDKComponent('TTS', 'Text to Speech', 'tts') - vad → const SDKComponent
-
const SDKComponent('VAD', 'Voice Activity Detection', 'vad') - voice → const SDKComponent
-
const SDKComponent('VOICE', 'Voice Agent', 'voice') - embedding → const SDKComponent
-
const SDKComponent('EMBEDDING', 'Embedding', 'embedding')
Properties
- analyticsKey → String
-
final
- displayName → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - rawValue → String
-
final
- 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
-
fromRawValue(
String value) → SDKComponent?
Constants
-
values
→ const List<
SDKComponent> - A constant List of the values in this enum, in order of their declaration.