DuckChat
DuckChat interface provides a set of methods for interacting and controlling DuckChat.
Functions
Returns the Duck Chat URL to be used
Determines whether a given Uri is a DuckChat URL.
Observes the cosmetic value for the input screen user setting. Returns null if the cosmetic value has not been set before.
Observes whether Duck.ai input screen with a mode switch is enabled or disabled.
Opens the DuckChat WebView with optional pre-filled String query.
Auto-prompts the DuckChat WebView with the provided String query.
Opens Duck Chat with a prefilled String query.
Cosmetically sets the input screen user setting.
Set user setting to determine whether dedicated Duck.ai input screen with a mode switch should be used.
Displays the new address bar option choice screen.
Returns true if Duck Chat was ever opened before.