augnitosdk
Version:
AugnitoSDK lets you make use of the Speech Recognition AI. You can edit, format and complete reports at the speed of human speech, with the best-in-class accuracy
41 lines (40 loc) • 1.61 kB
TypeScript
import { AugnitoConfig } from './AugnitoConfig';
import { AugnitoSDKEvent } from '../support/AugnitoSDKEvent';
import { AugnitoSocketResponse } from '../support/AugnitoSocketResponse';
import { AugnitoSource } from '../support/AugnitoSource';
import { IConfiguration } from './IConfiguration ';
/**
* Augnito SDK Config
*/
export declare class SDKConfig implements IConfiguration {
private _config;
qrCode: string;
customSpeechURL: string | undefined;
readonly contentType: string;
readonly noiseCt: string;
readonly interval: number;
domainURL: string;
macroServiceURL: string;
pushNotificationURL: string;
speechMicURL: string;
source: AugnitoSource;
onSocketPartialResult?: (data: string) => void;
onSocketFinalResult?: (data: AugnitoSocketResponse) => void;
onEndOfSession?: (isConnected: boolean) => void;
onReadyForSpeech?: (isConnected: boolean) => void;
onEvent?: (e: AugnitoSDKEvent, data: string) => void;
onSessionEvent?: (data: AugnitoSocketResponse) => void;
onError?: (data: string) => void;
onMicrophoneOnError?: (isWebClient: boolean) => void;
constructor(_config: AugnitoConfig);
setLmId(lmId: string): void;
setSpeechURL(speechURL: string): void;
setDomainName(domainName: string): void;
setAccountCode(accountCode: string): void;
setAccessKey(accessKey: string): void;
setEnableLogs(enableLogs: boolean): void;
get clientConfig(): AugnitoConfig;
get enableLogs(): boolean | undefined;
prepareSpeechURL(): string;
private getQRCode;
}