@microsoft/teams-js
Version:
Microsoft Client SDK for building app for Microsoft hosts
155 lines (154 loc) • 4.65 kB
TypeScript
/**
* @hidden
* The client version when all SDK APIs started to check platform compatibility for the APIs was 1.6.0.
* Modified to 2.0.1 which is hightest till now so that if any client doesn't pass version in initialize function, it will be set to highest.
* Mobile clients are passing versions, hence will be applicable to web and desktop clients only.
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const defaultSDKVersionForCompatCheck = "2.0.1";
/**
* @hidden
* This is the client version when selectMedia API - VideoAndImage is supported on mobile.
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const videoAndImageMediaAPISupportVersion = "2.0.2";
/**
* @hidden
* This is the client version when selectMedia API - Video with non-full screen mode is supported on mobile.
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const nonFullScreenVideoModeAPISupportVersion = "2.0.3";
/**
* @hidden
* This is the client version when selectMedia API - ImageOutputFormats is supported on mobile.
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const imageOutputFormatsAPISupportVersion = "2.0.4";
/**
* @hidden
* Minimum required client supported version for {@link getUserJoinedTeams} to be supported on {@link HostClientType.android}
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const getUserJoinedTeamsSupportedAndroidClientVersion = "2.0.1";
/**
* @hidden
* This is the client version when location APIs (getLocation and showLocation) are supported.
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const locationAPIsRequiredVersion = "1.9.0";
/**
* @hidden
* This is the client version when permisisons are supported
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const permissionsAPIsRequiredVersion = "2.0.1";
/**
* @hidden
* This is the client version when people picker API is supported on mobile.
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const peoplePickerRequiredVersion = "2.0.0";
/**
* @hidden
* This is the client version when captureImage API is supported on mobile.
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const captureImageMobileSupportVersion = "1.7.0";
/**
* @hidden
* This is the client version when media APIs are supported on all three platforms ios, android and web.
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const mediaAPISupportVersion = "1.8.0";
/**
* @hidden
* This is the client version when getMedia API is supported via Callbacks on all three platforms ios, android and web.
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const getMediaCallbackSupportVersion = "2.0.0";
/**
* @hidden
* This is the client version when scanBarCode API is supported on mobile.
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const scanBarCodeAPIMobileSupportVersion = "1.9.0";
/**
* @hidden
* Fallback list of valid origins
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const validOriginsFallback: string[];
/**
* @hidden
* Timeout length for Fetch Call for Valid Origins
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const ORIGIN_LIST_FETCH_TIMEOUT_IN_MS: number;
/**
* @hidden
* CDN endpoint of the list of valid origins
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const validOriginsCdnEndpoint: URL;
/**
* @hidden
* USer specified message origins should satisfy this test
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const userOriginUrlValidationRegExp: RegExp;
/**
* @hidden
* The protocol used for deep links into Teams
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const teamsDeepLinkProtocol = "https";
/**
* @hidden
* The host used for deep links into Teams
*
* @internal
* Limited to Microsoft-internal use
*/
export declare const teamsDeepLinkHost = "teams.microsoft.com";
/** @hidden */
export declare const errorLibraryNotInitialized = "The library has not yet been initialized";
/** @hidden */
export declare const errorRuntimeNotInitialized = "The runtime has not yet been initialized";
/** @hidden */
export declare const errorRuntimeNotSupported = "The runtime version is not supported";
/** @hidden */
export declare const errorCallNotStarted = "The call was not properly started";