{"version":3,"sources":["src/sdk/AvatarEventArgs.ts"],"names":[],"mappings":"AAGA,oBAAY,gBAAgB;IACxB,kBAAkB,uBAAuB;IACzC,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;CAClC;AAED;;;;;;GAMG;AACH,qBAAa,eAAe;IACxB,OAAO,CAAC,QAAQ,CAAmB;IACnC,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,eAAe,CAAS;IAEhC;;;;;OAKG;gBACgB,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAK3D;;;;OAIG;IACH,IAAW,IAAI,IAAI,gBAAgB,CAElC;IAED;;;;OAIG;IACH,IAAW,MAAM,IAAI,MAAM,CAE1B;IAED;;;;OAIG;IACH,IAAW,WAAW,IAAI,MAAM,CAE/B;CACJ","file":"AvatarEventArgs.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\nexport enum AvatarEventTypes {\n    SwitchedToSpeaking = \"SwitchedToSpeaking\",\n    SwitchedToIdle = \"SwitchedToIdle\",\n    SessionClosed = \"SessionClosed\",\n}\n\n/**\n * Defines content for talking avatar events.\n * @class AvatarEventArgs\n * Added in version 1.33.0\n *\n * @experimental This feature is experimental and might change or have limited support.\n */\nexport class AvatarEventArgs {\n    private privType: AvatarEventTypes;\n    private privOffset: number;\n    private privDescription: string;\n\n    /**\n     * Creates and initializes an instance of this class.\n     * @constructor\n     * @param {number} audioOffset - The audio offset.\n     * @param {string} description - The description of the event.\n     */\n    public constructor(audioOffset: number, description: string) {\n        this.privOffset = audioOffset;\n        this.privDescription = description;\n    }\n\n    /**\n     * The type of the event.\n     * @public\n     * @returns {AvatarEventTypes} The type of the event.\n     */\n    public get type(): AvatarEventTypes {\n        return this.privType;\n    }\n\n    /**\n     * The time offset associated with this event.\n     * @public\n     * @returns {number} The time offset associated with this event.\n     */\n    public get offset(): number {\n        return this.privOffset;\n    }\n\n    /**\n     * The description of the event.\n     * @public\n     * @returns {string} The description of the event.\n     */\n    public get description(): string {\n        return this.privDescription;\n    }\n}\n"]}