UNPKG

@voice-ping/cognitive-services-speech

Version:

VoicePing Cognitive Services Speech SDK for JavaScript forked from Microsoft

23 lines (22 loc) 634 B
import { SessionEventArgs } from "./Exports"; /** * Defines payload for session events like Speech Start/End Detected * @class */ export declare class RecognitionEventArgs extends SessionEventArgs { private privOffset; /** * Creates and initializes an instance of this class. * @constructor * @param {number} offset - The offset. * @param {string} sessionId - The session id. */ constructor(offset: number, sessionId?: string); /** * Represents the message offset * @member RecognitionEventArgs.prototype.offset * @function * @public */ get offset(): number; }