AddonException.Code

public enum AddonException.Code



Canonical error codes for AddonException.

Summary

Enum Values

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.

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 methods

int
static AddonException.Code

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

static AddonException.Code[]

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

Enum Values

ADDON_SESSION_IN_PROGRESS_WITH_DIFFERENT_APPLICATION

AddonException.Code AddonException.Code.ADDON_SESSION_IN_PROGRESS_WITH_DIFFERENT_APPLICATION

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

MEET_VERSION_UNSUPPORTED

AddonException.Code AddonException.Code.MEET_VERSION_UNSUPPORTED

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.

PARTICIPANT_INELIGIBLE

AddonException.Code AddonException.Code.PARTICIPANT_INELIGIBLE

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

SDK_VERSION_UNSUPPORTED

AddonException.Code AddonException.Code.SDK_VERSION_UNSUPPORTED

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

AddonException.Code AddonException.Code.SECURITY_POLICY_EXCEPTION

Connection to Meet failed due to a security policy exception.

UNKNOWN

AddonException.Code AddonException.Code.UNKNOWN

Unknown cause of error.

Public methods

value

public int value()

valueOf

public static AddonException.Code valueOf(String name)

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

public static AddonException.Code[] values()

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
AddonException.Code[]

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