trixnity
Toggle table of contents
5.2.0-SNAPSHOT.CI-20260302.101522
web
Target filter
web
Switch theme
Search in API
Skip to content
trixnity
trixnity-libolm
/
de.connect2x.trixnity.libolm
/
Session
Session
web
class
Session
Members
Constructors
Session
Link copied to clipboard
web
constructor
(
)
Functions
create_
inbound
Link copied to clipboard
web
fun
create_inbound
(
account
:
Account
,
one_time_key_message
:
String
)
create_
inbound_
from
Link copied to clipboard
web
fun
create_inbound_from
(
account
:
Account
,
identity_key
:
String
,
one_time_key_message
:
String
)
create_
outbound
Link copied to clipboard
web
fun
create_outbound
(
account
:
Account
,
their_identity_key
:
String
,
their_one_time_key
:
String
)
decrypt
Link copied to clipboard
web
fun
decrypt
(
message_type
:
JsNumber
,
message
:
String
)
:
String
describe
Link copied to clipboard
web
fun
describe
(
)
:
String
encrypt
Link copied to clipboard
web
fun
encrypt
(
plainText
:
String
)
:
Message
free
Link copied to clipboard
web
fun
free
(
)
has_
received_
message
Link copied to clipboard
web
fun
has_received_message
(
)
:
Boolean
matches_
inbound
Link copied to clipboard
web
fun
matches_inbound
(
one_time_key_message
:
String
)
:
Boolean
matches_
inbound_
from
Link copied to clipboard
web
fun
matches_inbound_from
(
identity_key
:
String
,
one_time_key_message
:
String
)
:
Boolean
pickle
Link copied to clipboard
web
fun
pickle
(
key
:
String
)
:
String
session_
id
Link copied to clipboard
web
fun
session_id
(
)
:
String
unpickle
Link copied to clipboard
web
fun
unpickle
(
key
:
String
,
pickle
:
String
)