BatchMessaging: {
    disableDoNotDisturbAndShowPendingMessage: (() => Promise<void>);
    setFontOverride: ((normalFontName?: string, boldFontName?: string, italicFontName?: string, italicBoldFontName?: string) => Promise<void>);
    setNotDisturbed: ((active: boolean) => Promise<void>);
    showPendingMessage: (() => Promise<void>);
    addListener(eventType:
        | "close"
        | "show"
        | "close_error"
        | "auto_close"
        | "click"
        | "webview_click", callback: ((payload: BatchMessagingEventPayload) => void)): EmitterSubscription;
} = ...

Type declaration

  • disableDoNotDisturbAndShowPendingMessage: (() => Promise<void>)

    Disables do not disturb mode and shows the currently enqueued message, if any.

      • (): Promise<void>
      • Returns Promise<void>

  • setFontOverride: ((normalFontName?: string, boldFontName?: string, italicFontName?: string, italicBoldFontName?: string) => Promise<void>)

    Override the font used in message views. Not applicable for standard alerts. iOS Android

      • (normalFontName?, boldFontName?, italicFontName?, italicBoldFontName?): Promise<void>
      • Parameters

        • OptionalnormalFontName: string
        • OptionalboldFontName: string
        • OptionalitalicFontName: string

          (iOS only)

        • OptionalitalicBoldFontName: string

          (iOS only)

        Returns Promise<void>

  • setNotDisturbed: ((active: boolean) => Promise<void>)

    Define if incoming messages have to be enqueued or displayed directly

      • (active): Promise<void>
      • Parameters

        • active: boolean

        Returns Promise<void>

  • showPendingMessage: (() => Promise<void>)

    Shows the currently enqueued message, if any.

      • (): Promise<void>
      • Returns Promise<void>

  • addListener:function