AgentTriggerMode enum
How a call behaves — who owns the UI, and therefore what the SDK is allowed to draw. Host-supplied, latched for the life of one call.
A property of the INTEGRATION, not of the tenant: whether Revrag may draw
its own panel over your app is your decision, in your code, at your call
site. The rest of the call configuration still arrives in widget_config
from the backend.
⚠ The backend already uses the word "copilot" for something else: its
sdk_mode is copilot / avatar and means which surface is showing,
not who owns the UI. Do not treat the words as synonyms when reading
protocol code. (Android-parity port of core/session/CallModes.kt.)
- Inheritance
- Available extensions
Values
- CO_PILOT → const AgentTriggerMode
-
The agent helps the user inside the host app's own screens.
The customer's dialogs are the UI, the SDK never draws a panel, and Action Intelligence is live —
perform_ui_actionis what makes this mode worth anything. The natural working state is the expanded button with the host app visible; the full-screen avatar is opt-in. - WORKFLOW → const AgentTriggerMode
-
Revrag owns the UI. The agent drives a panel the SDK renders, on the full-screen avatar surface.
Properties
- 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 - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wire → String
-
Available on AgentTriggerMode, provided by the AgentTriggerModeWire extension
no setter
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
Constants
-
values
→ const List<
AgentTriggerMode> - A constant List of the values in this enum, in order of their declaration.