FedCmDomain

This domain allows interacting with the FedCM dialog.

Official doc

Functions

Link copied to clipboard
Link copied to clipboard

Triggered when a dialog is closed, either by user action, JS abort, or a command below.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline suspend fun enable(optionalArgs: EnableRequest.Builder.() -> Unit = {}): EnableResponse
suspend fun enable(input: EnableRequest): EnableResponse
Link copied to clipboard
fun events(): Flow<FedCmEvent>

Subscribes to all events related to this domain.

Link copied to clipboard

Resets the cooldown time, if any, to allow the next FedCM call to show a dialog even if one was recently dismissed by the user.

Link copied to clipboard