Skip to content

AttachmentCodec

Defined in: sdks/react-native/dist/runtime/public/codecs.d.ts:39

  • StandardCodec<Attachment, ReturnType<typeof lowerAttachment>>

new AttachmentCodec(): AttachmentCodec

Defined in: sdks/react-native/dist/runtime/public/codecs.d.ts:40

AttachmentCodec

StandardCodec<Attachment, ReturnType<typeof lowerAttachment>>.constructor

readonly type: ContentTypeId

Defined in: sdks/react-native/dist/runtime/public/codecs.d.ts:9

StandardCodec.type

decode(encoded): Attachment

Defined in: sdks/react-native/dist/runtime/public/codecs.d.ts:16

EncodedContent

Attachment

StandardCodec.decode


encode(value): EncodedContent

Defined in: sdks/react-native/dist/runtime/public/codecs.d.ts:13

Attachment

EncodedContent

StandardCodec.encode


fallback(value): string | undefined

Defined in: sdks/react-native/dist/runtime/public/codecs.d.ts:14

Text for recipients without this codec. Absent: no fallback.

Attachment

string | undefined

StandardCodec.fallback


shouldPush(value): boolean

Defined in: sdks/react-native/dist/runtime/public/codecs.d.ts:15

Whether sending this value notifies recipients. Absent: it does.

Attachment

boolean

StandardCodec.shouldPush