AddonSessionHandler.Privilege

@PublicApi
enum AddonSessionHandler.Privilege


Describes a privilege that is allocated or revoked from a participant in an add-on session.

Summary

Enum Values

MAY_CHANGE_ADDON_SESSION_STATE

The participant can control the state of an add-on session.

UNKNOWN

Unknown privilege.

Public functions

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

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

java-static Array<AddonSessionHandler.Privilege!>!

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

Enum Values

MAY_CHANGE_ADDON_SESSION_STATE

@PublicApi
val AddonSessionHandler.Privilege.MAY_CHANGE_ADDON_SESSION_STATEAddonSessionHandler.Privilege

The participant can control the state of an add-on session.

Public functions

valueOf

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

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.Privilege!

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.Privilege!>!

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.Privilege!>!

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