Preparing search index...
The search index is not available
@xmtp/react-native-sdk
@xmtp/react-native-sdk
NativeContentCodec
Interface NativeContentCodec<T>
interface
NativeContentCodec
<
T
>
{
contentKey
:
string
;
contentType
:
ContentTypeId
;
decode
(
nativeContent
)
:
T
;
encode
(
content
)
:
NativeMessageContent
;
fallback
(
content
)
:
undefined
|
string
;
}
Type Parameters
T
Implemented by
GroupUpdatedCodec
ReactionCodec
ReadReceiptCodec
RemoteAttachmentCodec
ReplyCodec
StaticAttachmentCodec
TextCodec
Index
Properties
content
Key
content
Type
Methods
decode
encode
fallback
Properties
content
Key
content
Key
:
string
content
Type
content
Type
:
ContentTypeId
Methods
decode
decode
(
nativeContent
)
:
T
Parameters
nativeContent
:
NativeMessageContent
Returns
T
encode
encode
(
content
)
:
NativeMessageContent
Parameters
content
:
T
Returns
NativeMessageContent
fallback
fallback
(
content
)
:
undefined
|
string
Parameters
content
:
T
Returns
undefined
|
string
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
content
Key
content
Type
decode
encode
fallback
@xmtp/react-native-sdk
ConversationVersion
MessageDeliveryStatus
Client
ConsentListEntry
DecodedMessage
Dm
Group
GroupUpdatedCodec
Member
ReactionCodec
ReadReceiptCodec
RemoteAttachmentCodec
ReplyCodec
StaticAttachmentCodec
TextCodec
XMTPPush
JSContentCodec
NativeContentCodec
Signer
XmtpContextValue
Address
Loading...
Generated using
TypeDoc