Uses of Enum Class
io.github.fherbreteau.vodozemac.olm.OlmSessionVersion
Packages that use OlmSessionVersion
-
Uses of OlmSessionVersion in io.github.fherbreteau.vodozemac.account
Methods in io.github.fherbreteau.vodozemac.account with parameters of type OlmSessionVersionModifier and TypeMethodDescriptionAccount.createInboundSession(OlmSessionVersion sessionVersion, Curve25519PublicKey theirIdentityKey, OlmMessage preKeyMessage) Creates an inboundOlmSessionfrom a pre-key message.Account.createOutboundSession(OlmSessionVersion sessionVersion, Curve25519PublicKey identityKey, Curve25519PublicKey oneTimeKey) Creates anOlmSessionwith the given identity key and one-time key. -
Uses of OlmSessionVersion in io.github.fherbreteau.vodozemac.olm
Subclasses with type arguments of type OlmSessionVersion in io.github.fherbreteau.vodozemac.olmModifier and TypeClassDescriptionenumRepresents the version of the Olm session protocol to use.Methods in io.github.fherbreteau.vodozemac.olm that return OlmSessionVersionModifier and TypeMethodDescriptionstatic OlmSessionVersionOlmSessionVersion.defaultVersion()Returns the default Olm session version.static OlmSessionVersionOlmSessionVersion.fromVersion(int version) Returns the session version corresponding to the given numeric value.OlmSession.sessionConfig()Returns the session configuration (protocol version) used by this session.static OlmSessionVersionReturns the enum constant of this class with the specified name.static OlmSessionVersion[]OlmSessionVersion.values()Returns an array containing the constants of this enum class, in the order they are declared.