Braze React Native SDK - v21.0.0
    Preparing search index...

    Class Banner

    Index

    Constructors

    Properties

    expiresAt: number

    A Unix timestamp of the expiration date and time. A value of -1 means the banner never expires.

    html: string

    The HTML to display for the banner.

    isControl: boolean

    Whether the banner is a control banner.

    isTestSend: boolean

    Whether the banner is from a test send.

    placementId: string

    The placement ID this banner is matched to.

    properties: Partial<
        Record<
            string,
            | StringProperty
            | NumberProperty
            | BooleanProperty
            | TimestampProperty
            | JSONProperty
            | ImageProperty,
        >,
    >

    Properties of this banner, listed as key-value pairs.

    trackingId: string

    The campaign and message variation IDs.

    Methods

    • Parameters

      • key: string

      Returns boolean | null

    • Parameters

      • key: string

      Returns string | null

    • Parameters

      • key: string

      Returns object | null

    • Parameters

      • key: string

      Returns number | null

    • Parameters

      • key: string

      Returns string | null

    • Parameters

      • key: string

      Returns number | null