MomentNotDisplayedReason enum

The detailed reason why the OneTap UI isn't displayed.

Inheritance
Available extensions

Values

browser_not_supported → const MomentNotDisplayedReason

Browser not supported.

See https://developers.google.com/identity/gsi/web/guides/supported-browsers

const MomentNotDisplayedReason('browser_not_supported')
invalid_client → const MomentNotDisplayedReason

Invalid Client.

See https://developers.google.com/identity/gsi/web/guides/get-google-api-clientid

const MomentNotDisplayedReason('invalid_client')
missing_client_id → const MomentNotDisplayedReason

Missing client_id.

See https://developers.google.com/identity/gsi/web/guides/get-google-api-clientid

const MomentNotDisplayedReason('missing_client_id')
opt_out_or_no_session → const MomentNotDisplayedReason

The user has opted out, or they aren't signed in to a Google account.

https://developers.google.com/identity/gsi/web/guides/features

const MomentNotDisplayedReason('opt_out_or_no_session')
secure_http_required → const MomentNotDisplayedReason

Google One Tap can only be displayed in HTTPS domains.

See https://developers.google.com/identity/gsi/web/guides/get-google-api-clientid

const MomentNotDisplayedReason('secure_http_required')
suppressed_by_user → const MomentNotDisplayedReason

The user has previously closed the OneTap card.

See https://developers.google.com/identity/gsi/web/guides/features#exponential_cooldown

const MomentNotDisplayedReason('suppressed_by_user')
unregistered_origin → const MomentNotDisplayedReason

The current origin is not associated with the Client ID.

See https://developers.google.com/identity/gsi/web/guides/get-google-api-clientid

const MomentNotDisplayedReason('unregistered_origin')
unknown_reason → const MomentNotDisplayedReason

Unknown reason

const MomentNotDisplayedReason('unknown_reason')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<MomentNotDisplayedReason>
A constant List of the values in this enum, in order of their declaration.