AddonSessionHandler.EndReason

@PublicApi
public enum AddonSessionHandler.EndReason



Describes the reason the onSessionEnded callback was triggered.

Summary

Enum Values

MEETING_ENDED_BY_USER

Meet conference was ended through user action in the Meet app.

SESSION_ENDED_BY_USER

Add-on session was ended through user action in Meet.

SESSION_ENDED_UNEXPECTEDLY

The meeting or session ended unexpectedly; the user might want to reconnect in this case.

Public methods

static AddonSessionHandler.EndReason

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

static AddonSessionHandler.EndReason[]

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

Enum Values

MEETING_ENDED_BY_USER

@PublicApi
AddonSessionHandler.EndReason AddonSessionHandler.EndReason.MEETING_ENDED_BY_USER

Meet conference was ended through user action in the Meet app. Any attempts to reconnect to a add-on session may launch a new Meet conference.

SESSION_ENDED_BY_USER

@PublicApi
AddonSessionHandler.EndReason AddonSessionHandler.EndReason.SESSION_ENDED_BY_USER

Add-on session was ended through user action in Meet. However, the Meet conference may still be ongoing.

SESSION_ENDED_UNEXPECTEDLY

@PublicApi
AddonSessionHandler.EndReason AddonSessionHandler.EndReason.SESSION_ENDED_UNEXPECTEDLY

The meeting or session ended unexpectedly; the user might want to reconnect in this case.

Public methods

valueOf

public static AddonSessionHandler.EndReason 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
AddonSessionHandler.EndReason

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 AddonSessionHandler.EndReason[] 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
AddonSessionHandler.EndReason[]

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