react-native-acoustic-connect-beta
Version:
BETA: React native plugin for Acoustic Connect
54 lines • 2.77 kB
TypeScript
/********************************************************************************************
* Copyright (C) 2025 Acoustic, L.P. All rights reserved.
*
* NOTICE: This file contains material that is confidential and proprietary to
* Acoustic, L.P. and/or other developers. No license is granted under any intellectual or
* industrial property rights of Acoustic, L.P. except as may be provided in an agreement with
* Acoustic, L.P. Any unauthorized copying or distribution of content from this file is
* prohibited.
********************************************************************************************/
/// <reference types="node" />
declare class TLTRN {
static currentScreen: string;
static lastJSBridgeMessageTime: number;
static totalRenderTime: number;
static messageRenderTime: number;
static countMsgs: number;
static messageConsole: number;
static lastMessageConsole: number;
static isLoggingData: number;
static displayDebug: boolean;
static myTimer: {
handle: NodeJS.Timeout | null;
started: number;
time: number;
/**
* @type Class
*/
startTimer: () => void;
/**
* @type Class
*/
stopTimer: () => void;
};
static init: (initialCurrentScreen: String, showDebugConsoleMessages: boolean) => void;
static interceptKeyboardEvents: (enable: boolean) => void;
static logScreenViewPageName: (name: string | undefined) => boolean;
static logScreenViewContextLoad: (name: string, prevName: string) => boolean;
static logScreenLayout: (name: string | undefined) => boolean;
static logClickEvent: (event: any) => Promise<boolean>;
static logTextChangeEvent: (target: number, controlId: string, text: string, _ariaLabel: string) => Promise<boolean>;
static logCustomEvent: (eventName: string, values: Record<string, string | number | boolean>, level: number) => Promise<boolean>;
static logDialogShowEvent: (dialogId: string, dialogTitle: string, dialogType: string) => Promise<boolean>;
static logDialogDismissEvent: (dialogId: string, dismissReason: string) => Promise<boolean>;
static logDialogButtonClickEvent: (dialogId: string, buttonText: string, buttonIndex: number) => Promise<boolean>;
static logDialogCustomEvent: (dialogId: string, eventName: string, values: Record<string, string | number | boolean>) => Promise<boolean>;
static eventListenerRegistered: boolean;
static eventListenerUnsubscribe: (() => void) | null;
static interceptDialogEvents: (enable: boolean) => void;
static listenToBridge: (message: any) => void;
static checkTime: () => void;
static logTeal: () => Promise<void>;
}
export default TLTRN;
//# sourceMappingURL=TLTRN.d.ts.map