Skip to content

IntentCodec

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

  • StandardCodec<Intent, ReturnType<typeof lowerIntent>>

new IntentCodec(): IntentCodec

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

IntentCodec

StandardCodec<Intent, ReturnType<typeof lowerIntent>>.constructor

readonly type: ContentTypeId

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

StandardCodec.type

decode(encoded): Intent

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

EncodedContent

Intent

StandardCodec.decode


encode(value): EncodedContent

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

Intent

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.

Intent

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.

Intent

boolean

StandardCodec.shouldPush