{"version":3,"sources":["src/sdk/RecognitionEventArgs.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C;;;GAGG;AACH,qBAAa,oBAAqB,SAAQ,gBAAgB;IACtD,OAAO,CAAC,UAAU,CAAS;IAE3B;;;;;OAKG;gBACgB,MAAM,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM;IAMrD;;;;;OAKG;aACQ,MAAM,EAAI,MAAM;CAG9B","file":"RecognitionEventArgs.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\nimport { SessionEventArgs } from \"./Exports\";\n\n/**\n * Defines payload for session events like Speech Start/End Detected\n * @class\n */\nexport class RecognitionEventArgs extends SessionEventArgs {\n    private privOffset: number;\n\n    /**\n     * Creates and initializes an instance of this class.\n     * @constructor\n     * @param {number} offset - The offset.\n     * @param {string} sessionId - The session id.\n     */\n    public constructor(offset: number, sessionId?: string) {\n        super(sessionId);\n\n        this.privOffset = offset;\n    }\n\n    /**\n     * Represents the message offset\n     * @member RecognitionEventArgs.prototype.offset\n     * @function\n     * @public\n     */\n    public get offset(): number {\n        return this.privOffset;\n    }\n}\n"]}