import { QosResultType } from './QosResultType'; /** * Qos logger * This class represents the Qos monitor APIs * * @internal */ export default class QosMonitor { private _id; private _hasEnded; private _endExtraData; private _scenarioName; private _endResultCode; private _endResult; private _copyToCosmos; private _copyToInterana; private _qosResultTypeValue; static startRealTimeProcessing(): void; /** * Only used in unit tests * @internal */ static _shouldProcessInRealTime(processInRealTime: boolean): void; /** * Creates a QoS monitor (initializes it and logs the start event) * @param scenarioName - Unique name of the QoS scenario * You will see start tag: SPPages.ScenarioName.Start * @param copyToCosmos - Indicate whether this data should be used as Engagement as well, and sent to COSMOS. * @param copyToInterana - Indicate whether this data should be used as Engagement as well, and sent to Interana. */ constructor(scenarioName: string, copyToCosmos?: boolean, copyToInterana?: boolean); get name(): string; get shortEventName(): string; get resultCode(): string | undefined; get resultType(): QosResultType | undefined; get extraData(): Record | undefined; set extraData(value: Record | undefined); get hasEnded(): boolean; /** * QoS monitor ends with success * You will see success tag: SPPages.ScenarioName.Success */ writeSuccess(extraData?: { [key: string]: any; }): void; /** * QoS monitor ends with failure * You will see failure tag: SPPages.ScenarioName..Failure. * will be filled with param tagName */ writeUnexpectedFailure(tagNameSuffix?: string, ex?: Error, extraData?: { [key: string]: any; }): void; writeExpectedFailure(tagNameSuffix?: string, ex?: Error, extraData?: { [key: string]: any; }): void; private _writeQosEnd; private _ensureCorrelationId; private _ensureAuthoringSessionId; private _ensureEndExtraData; /** * Logs the application hosted in Teams in combination with which Teams application it was hosted on. * Viva1p-TeamsNative: Viva home app loaded through Teams Desktop application, not including mobile * Viva1p-TeamsWeb: Viva home app loaded through Teams Web browser, not including mobile * MEEBridge-TeamsNative: VivaConnections MEEBridge app loaded through Teams mobile client. * ClassHome-TeamsNative: ClassHome app loaded through Teams Desktop application, not including mobile * ClassHome-TeamsWeb: ClassHome app loaded through Teams Web browser, not including mobile */ private _logHostType; private _isDebugSession; private _shouldSkip; private _writeToEngagement; } //# sourceMappingURL=QosMonitor.d.ts.map