UNPKG

@telnyx/react-native-voice-sdk

Version:
14 lines (13 loc) 412 B
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 {};