Variable BatchMessagingConst
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>)
- (): Promise<void>
Returns Promise<void>
setFontOverride: ((normalFontName?: string, boldFontName?: string, italicFontName?: string, italicBoldFontName?: string) => Promise<void>)
- (normalFontName?, boldFontName?, italicFontName?, italicBoldFontName?): Promise<void>
Parameters
Optional
normalFontName: stringOptional
boldFontName: stringOptional
italicFontName: stringOptional
italicBoldFontName: string
Returns Promise<void>
setNotDisturbed: ((active: boolean) => Promise<void>)
- (active): Promise<void>
Returns Promise<void>
showPendingMessage: (() => Promise<void>)
- (): Promise<void>
Returns Promise<void>
addListener:function
- addListener(eventType, callback): EmitterSubscription
Parameters
- eventType:
| "close"
| "show"
| "close_error"
| "auto_close"
| "click"
| "webview_click" - callback: ((payload: BatchMessagingEventPayload) => void)
- (payload): void
Returns void
Disables do not disturb mode and shows the currently enqueued message, if any.