Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit eac6e6b

Browse files
Expose getUserAgent in the analyticsSettingsService (#1020)
1 parent c8a450b commit eac6e6b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

declarations.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,13 @@ interface IAnalyticsSettingsService {
721721
* @returns {Promise<string>}
722722
*/
723723
getClientId(): Promise<string>;
724+
725+
/**
726+
* Gets user agent string identifing the current system in the following format: `${identifier} (${systemInfo}) ${osArch}`
727+
* @param {string} identifier The product identifier.
728+
* @returns {string} The user agent string.
729+
*/
730+
getUserAgentString(identifier: string): string;
724731
}
725732

726733
interface IHostCapabilities {

0 commit comments

Comments
 (0)