AddonException.Code

enum AddonException.Code


Canonical error codes for AddonException.

Summary

Enum Values

ADDON_NOT_INSTALLED

Connection to Meet failed because add-on is not installed.

ADDON_SESSION_IN_PROGRESS_WITH_DIFFERENT_APPLICATION

Add-on session is in progress with a different add-on.

MEET_VERSION_UNSUPPORTED

Either the Google Meet app is not installed, or the installed version does not include support for add-ons.

OPERATION_UNSUPPORTED

Connection to Meet failed due to requesting an unsupported operation on Meet.

PARTICIPANT_INELIGIBLE

The current user is not eligible to participate in add-on sessions.

SDK_VERSION_UNSUPPORTED

Current version of the SDK is no longer supported for add-on sessions.

SECURITY_POLICY_EXCEPTION

Connection to Meet failed due to a security policy exception.

UNKNOWN

Unknown cause of error.

Public functions

Int
java-static AddonException.Code!
valueOf(name: String!)

Returns the enum constant of this type with the specified name.

java-static Array<AddonException.Code!>!

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

ADDON_NOT_INSTALLED

val AddonException.Code.ADDON_NOT_INSTALLEDAddonException.Code

Connection to Meet failed because add-on is not installed.

ADDON_SESSION_IN_PROGRESS_WITH_DIFFERENT_APPLICATION

val AddonException.Code.ADDON_SESSION_IN_PROGRESS_WITH_DIFFERENT_APPLICATIONAddonException.Code

Add-on session is in progress with a different add-on.

MEET_VERSION_UNSUPPORTED

val AddonException.Code.MEET_VERSION_UNSUPPORTEDAddonException.Code

Either the Google Meet app is not installed, or the installed version does not include support for add-ons.

Consumers can query packageName to redirect the user to install the appropriate app.

OPERATION_UNSUPPORTED

val AddonException.Code.OPERATION_UNSUPPORTEDAddonException.Code

Connection to Meet failed due to requesting an unsupported operation on Meet.

PARTICIPANT_INELIGIBLE

val AddonException.Code.PARTICIPANT_INELIGIBLEAddonException.Code

The current user is not eligible to participate in add-on sessions.

SDK_VERSION_UNSUPPORTED

val AddonException.Code.SDK_VERSION_UNSUPPORTEDAddonException.Code

Current version of the SDK is no longer supported for add-on sessions.

While the SDK is intended to be forwards-compatible, this may be necessary long-term.

Consumers may consider showing the user a message along the lines of, "please update this app," assuming that newer versions of the app use the latest version of this SDK.

SECURITY_POLICY_EXCEPTION

val AddonException.Code.SECURITY_POLICY_EXCEPTIONAddonException.Code

Connection to Meet failed due to a security policy exception.

UNKNOWN

val AddonException.Code.UNKNOWNAddonException.Code

Unknown cause of error.

Public functions

value

fun value(): Int

valueOf

java-static fun valueOf(name: String!): AddonException.Code!

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns
AddonException.Code!

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

java-static fun values(): Array<AddonException.Code!>!

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
Array<AddonException.Code!>!

an array containing the constants of this enum type, in the order they're declared