AddonSessionHandler.EndReason

@PublicApi
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 functions

java-static AddonSessionHandler.EndReason!
valueOf(name: String!)

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

java-static Array<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
val AddonSessionHandler.EndReason.MEETING_ENDED_BY_USERAddonSessionHandler.EndReason

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
val AddonSessionHandler.EndReason.SESSION_ENDED_BY_USERAddonSessionHandler.EndReason

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

SESSION_ENDED_UNEXPECTEDLY

@PublicApi
val AddonSessionHandler.EndReason.SESSION_ENDED_UNEXPECTEDLYAddonSessionHandler.EndReason

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

Public functions

valueOf

java-static fun valueOf(name: String!): AddonSessionHandler.EndReason!

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

java-static fun values(): Array<AddonSessionHandler.EndReason!>!

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<AddonSessionHandler.EndReason!>!

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