@iterable/react-native-sdk - v2.1.0
    Preparing search index...

    Class IterableInboxMetadata

    Metadata for a message.

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Constructs an instance of IterableInboxMetadata.

      Parameters

      • title: string | undefined

        The title of the inbox item.

      • subtitle: string | undefined

        The subtitle of the inbox item.

      • icon: string | undefined

        The icon associated with the inbox item.

      Returns IterableInboxMetadata

    Properties

    icon?: string

    The icon associated with the message

    subtitle?: string

    The message subtitle (this is sometimes a preview of the body text)

    title?: string

    The message title

    Methods

    • Creates an instance of IterableInboxMetadata from a dictionary object.

      Parameters

      • dict: {
            icon: string | undefined;
            subtitle: string | undefined;
            title: string | undefined;
        }

        The dictionary object containing the metadata properties. This corresponds to the properties in IterableInboxMetadata.

        • icon: string | undefined

          The icon associated with the message

        • subtitle: string | undefined

          The message subtitle (this is sometimes a preview of the body text)

        • title: string | undefined

          The message title

      Returns IterableInboxMetadata

      A new instance of IterableInboxMetadata with the provided properties.