Uses of Enum Class
io.github.fherbreteau.vodozemac.megolm.MegolmSessionVersion
Packages that use MegolmSessionVersion
-
Uses of MegolmSessionVersion in io.github.fherbreteau.vodozemac.megolm
Subclasses with type arguments of type MegolmSessionVersion in io.github.fherbreteau.vodozemac.megolmModifier and TypeClassDescriptionenumRepresents the version of the Megolm session protocol to use.Methods in io.github.fherbreteau.vodozemac.megolm that return MegolmSessionVersionModifier and TypeMethodDescriptionstatic MegolmSessionVersionMegolmSessionVersion.defaultVersion()Returns the default Megolm session version.static MegolmSessionVersionMegolmSessionVersion.fromVersion(int version) Returns the session version corresponding to the given numeric value.OutboundGroupSession.sessionConfig()Returns the session configuration (protocol version) used by this session.static MegolmSessionVersionReturns the enum constant of this class with the specified name.static MegolmSessionVersion[]MegolmSessionVersion.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.github.fherbreteau.vodozemac.megolm with parameters of type MegolmSessionVersionModifier and TypeMethodDescriptionstatic InboundGroupSessionInboundGroupSession.importSession(String sessionKey, MegolmSessionVersion version) Creates a newInboundGroupSessionfrom an exported session key.Constructors in io.github.fherbreteau.vodozemac.megolm with parameters of type MegolmSessionVersionModifierConstructorDescriptionInboundGroupSession(String sessionKey, MegolmSessionVersion version) Creates a new inbound group session from a session key received over an authenticated channel.OutboundGroupSession(MegolmSessionVersion version) Constructs a new outbound group session with a random ratchet state and signing key pair.