library
androidJvm
library
/
org.xmtp.android.library
/
CodecRegistry
Codec
Registry
data
class
CodecRegistry
(
val
codecs
:
MutableMap
<
String
,
ContentCodec
<
*
>
>
=
mutableMapOf()
)
Members
Constructors
Codec
Registry
Link copied to clipboard
constructor
(
codecs
:
MutableMap
<
String
,
ContentCodec
<
*
>
>
=
mutableMapOf()
)
Functions
find
Link copied to clipboard
fun
find
(
contentType
:
ContentTypeId
?
)
:
ContentCodec
<
*
>
find
From
Id
Link copied to clipboard
fun
findFromId
(
contentTypeString
:
String
)
:
ContentCodec
<
*
>
register
Link copied to clipboard
fun
register
(
codec
:
ContentCodec
<
*
>
)
Properties
codecs
Link copied to clipboard
val
codecs
:
MutableMap
<
String
,
ContentCodec
<
*
>
>