Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface DuckChat

DuckChat interface provides a set of methods for interacting and controlling DuckChat.

Link copied to clipboard

Use this model to launch the Duck.ai chat history screen.

Link copied to clipboard

The input mode currently displayed by the Duck.ai input widget.

Link copied to clipboard

Use this model to launch the DuckChat Settings screen and show native settings only

Link copied to clipboard

Use this model to launch the DuckChat Settings screen

Link copied to clipboard

Which tab is currently selected in the Duck.ai input widget toggle.

Link copied to clipboard

Listens for native input events raised from the app layer (the host that shows the widget and receives its submit callbacks). Keeps :app off duckchat-impl internals — implementations live in duckchat-impl. The current implementation (MetricsNativeInputEventListener) fans these events out to the pixel, session-usage and discovery-funnel collaborators.

Functions

Link copied to clipboard

Returns the chatID from this Uri when it is a Duck.ai chat URL with a non-blank chatID; null otherwise (including for non-Duck.ai URLs).