AIToolAuthorizationState

data class AIToolAuthorizationState(val isConnecting: Boolean = false, val isDeclining: Boolean = false, val connectFailed: Boolean = false, val declineFailed: Boolean = false, val isExpired: Boolean = false)

Where the person's sign-in is.

Parameters

isConnecting

The sign-in is open, or came back connected a moment ago and the call's step hasn't changed yet.

isDeclining

Their "not now" is on its way, or arrived and the call's step hasn't changed yet.

connectFailed

The sign-in couldn't be opened, and the person can try again.

declineFailed

Their "not now" couldn't be sent, and the person can answer again.

isExpired

The sign-in is past its AIToolAuthorization.expiresAt, so Connect is no longer offered.

Constructors

Link copied to clipboard
constructor(isConnecting: Boolean = false, isDeclining: Boolean = false, connectFailed: Boolean = false, declineFailed: Boolean = false, isExpired: Boolean = false)

Properties

Link copied to clipboard

Whether Connect is offered: no answer is under way and the sign-in hasn't expired.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Whether an answer is under way, so Connect waits.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard