@telnyx/react-native-voice-sdk
Version:
Telnyx React Native Voice SDK
14 lines (13 loc) • 412 B
TypeScript
import { EventEmitter } from 'eventemitter3';
import { Connection } from './connection';
type KeepAliveHandlerEvents = {
'telnyx.internal.keepalive.error': () => void;
};
export declare class KeepAliveHandler extends EventEmitter<KeepAliveHandlerEvents> {
private connection;
constructor(connection: Connection);
start: () => void;
stop: () => void;
private onSocketMessage;
}
export {};