@microsoft/teams-js 2.5.0 → 2.6.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/MicrosoftTeams.d.ts +186 -48
- package/dist/MicrosoftTeams.js +238 -112
- package/dist/MicrosoftTeams.js.map +1 -1
- package/dist/MicrosoftTeams.min.js +1 -1
- package/dist/MicrosoftTeams.min.js.map +1 -1
- package/package.json +1 -34
package/dist/MicrosoftTeams.d.ts
CHANGED
@@ -23,8 +23,11 @@ export namespace logs {
|
|
23
23
|
/**
|
24
24
|
* @hidden
|
25
25
|
*
|
26
|
+
* Checks if the logs capability is supported by the host
|
26
27
|
* @returns boolean to represent whether the logs capability is supported
|
27
28
|
*
|
29
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
30
|
+
*
|
28
31
|
* @internal
|
29
32
|
* Limited to Microsoft-internal use
|
30
33
|
*/
|
@@ -488,8 +491,11 @@ export namespace conversations {
|
|
488
491
|
*/
|
489
492
|
function getChatMembers(): Promise<ChatMembersInformation>;
|
490
493
|
/**
|
494
|
+
* Checks if the conversations capability is supported by the host
|
491
495
|
* @returns boolean to represent whether conversations capability is supported
|
492
496
|
*
|
497
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
498
|
+
*
|
493
499
|
* @internal
|
494
500
|
* Limited to Microsoft-internal use
|
495
501
|
*/
|
@@ -1458,8 +1464,11 @@ export namespace meetingRoom {
|
|
1458
1464
|
/**
|
1459
1465
|
* @hidden
|
1460
1466
|
*
|
1467
|
+
* Checks if the meetingRoom capability is supported by the host
|
1461
1468
|
* @returns boolean to represent whether the meetingRoom capability is supported
|
1462
1469
|
*
|
1470
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
1471
|
+
*
|
1463
1472
|
* @internal
|
1464
1473
|
* Limited to Microsoft-internal use
|
1465
1474
|
*/
|
@@ -1481,8 +1490,12 @@ export namespace notifications {
|
|
1481
1490
|
function showNotification(showNotificationParameters: ShowNotificationParameters): void;
|
1482
1491
|
/**
|
1483
1492
|
* @hidden
|
1493
|
+
*
|
1494
|
+
* Checks if the notifications capability is supported by the host
|
1484
1495
|
* @returns boolean to represent whether the notifications capability is supported
|
1485
1496
|
*
|
1497
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
1498
|
+
*
|
1486
1499
|
* @internal
|
1487
1500
|
* Limited to Microsoft-internal use
|
1488
1501
|
*/
|
@@ -1781,8 +1794,12 @@ export namespace remoteCamera {
|
|
1781
1794
|
function registerOnSessionStatusChangeHandler(handler: (sessionStatusChange: SessionStatus) => void): void;
|
1782
1795
|
/**
|
1783
1796
|
* @hidden
|
1797
|
+
*
|
1798
|
+
* Checks if the remoteCamera capability is supported by the host
|
1784
1799
|
* @returns boolean to represent whether the remoteCamera capability is supported
|
1785
1800
|
*
|
1801
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
1802
|
+
*
|
1786
1803
|
* @internal
|
1787
1804
|
* Limited to Microsoft-internal use
|
1788
1805
|
*/
|
@@ -1867,9 +1884,10 @@ export namespace appEntity {
|
|
1867
1884
|
/**
|
1868
1885
|
* @hidden
|
1869
1886
|
*
|
1870
|
-
* Checks if appEntity capability is supported by the host
|
1871
|
-
* @returns
|
1872
|
-
*
|
1887
|
+
* Checks if the appEntity capability is supported by the host
|
1888
|
+
* @returns boolean to represent whether the appEntity capability is supported
|
1889
|
+
*
|
1890
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
1873
1891
|
*
|
1874
1892
|
* @internal
|
1875
1893
|
* Limited to Microsoft-internal use
|
@@ -1927,10 +1945,11 @@ export namespace teams {
|
|
1927
1945
|
function refreshSiteUrl(threadId: string, callback: (error: SdkError) => void): void;
|
1928
1946
|
/**
|
1929
1947
|
* @hidden
|
1948
|
+
*
|
1930
1949
|
* Checks if teams capability is supported by the host
|
1950
|
+
* @returns boolean to represent whether the teams capability is supported
|
1931
1951
|
*
|
1932
|
-
* @
|
1933
|
-
* false if it is disabled
|
1952
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
1934
1953
|
*
|
1935
1954
|
* @internal
|
1936
1955
|
* Limited to Microsoft-internal use
|
@@ -1961,10 +1980,11 @@ export namespace teams {
|
|
1961
1980
|
function getUserJoinedTeams(teamInstanceParameters?: TeamInstanceParameters): Promise<UserJoinedTeamsInformation>;
|
1962
1981
|
/**
|
1963
1982
|
* @hidden
|
1983
|
+
*
|
1964
1984
|
* Checks if teams.fullTrust.joinedTeams capability is supported by the host
|
1985
|
+
* @returns boolean to represent whether the teams.fullTrust.joinedTeams capability is supported
|
1965
1986
|
*
|
1966
|
-
* @
|
1967
|
-
* runtime.supports.teams.fullTrust.joinedTeams and false if it is disabled
|
1987
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
1968
1988
|
*
|
1969
1989
|
* @internal
|
1970
1990
|
* Limited to Microsoft-internal use
|
@@ -1984,9 +2004,11 @@ export namespace teams {
|
|
1984
2004
|
function getConfigSetting(key: string): Promise<string>;
|
1985
2005
|
/**
|
1986
2006
|
* @hidden
|
2007
|
+
*
|
1987
2008
|
* Checks if teams.fullTrust capability is supported by the host
|
1988
|
-
* @returns
|
1989
|
-
*
|
2009
|
+
* @returns boolean to represent whether the teams.fullTrust capability is supported
|
2010
|
+
*
|
2011
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
1990
2012
|
*
|
1991
2013
|
* @internal
|
1992
2014
|
* Limited to Microsoft-internal use
|
@@ -2143,11 +2165,13 @@ export namespace videoEx {
|
|
2143
2165
|
function updatePersonalizedEffects(effects: PersonalizedEffect[]): void;
|
2144
2166
|
/**
|
2145
2167
|
* @hidden
|
2168
|
+
*
|
2146
2169
|
* Checks if video capability is supported by the host
|
2147
2170
|
* @beta
|
2148
2171
|
*
|
2149
|
-
* @
|
2150
|
-
*
|
2172
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
2173
|
+
*
|
2174
|
+
* @returns boolean to represent whether the video capability is supported
|
2151
2175
|
*
|
2152
2176
|
* @internal
|
2153
2177
|
* Limited to Microsoft-internal use
|
@@ -2177,7 +2201,7 @@ export namespace authentication {
|
|
2177
2201
|
*
|
2178
2202
|
* @returns Promise that will be fulfilled with the result from the authentication pop-up if successful.
|
2179
2203
|
*
|
2180
|
-
* @throws if the authentication request fails or is canceled by the user.
|
2204
|
+
* @throws Error if the authentication request fails or is canceled by the user.
|
2181
2205
|
*
|
2182
2206
|
*/
|
2183
2207
|
function authenticate(authenticateParameters: AuthenticatePopUpParameters): Promise<string>;
|
@@ -3926,6 +3950,12 @@ export namespace appInstallDialog {
|
|
3926
3950
|
appId: string;
|
3927
3951
|
}
|
3928
3952
|
function openAppInstallDialog(openAPPInstallDialogParams: OpenAppInstallDialogParams): Promise<void>;
|
3953
|
+
/**
|
3954
|
+
* Checks if the appInstallDialog capability is supported by the host
|
3955
|
+
* @returns boolean to represent whether the appInstallDialog capability is supported
|
3956
|
+
*
|
3957
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
3958
|
+
*/
|
3929
3959
|
function isSupported(): boolean;
|
3930
3960
|
}
|
3931
3961
|
|
@@ -3976,8 +4006,9 @@ export namespace barCode {
|
|
3976
4006
|
function requestPermission(): Promise<boolean>;
|
3977
4007
|
/**
|
3978
4008
|
* Checks if barCode capability is supported by the host
|
4009
|
+
* @returns boolean to represent whether the barCode capability is supported
|
3979
4010
|
*
|
3980
|
-
* @
|
4011
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
3981
4012
|
*
|
3982
4013
|
* @beta
|
3983
4014
|
*/
|
@@ -4055,10 +4086,11 @@ export namespace chat {
|
|
4055
4086
|
*/
|
4056
4087
|
function openGroupChat(openChatRequest: OpenGroupChatRequest): Promise<void>;
|
4057
4088
|
/**
|
4058
|
-
* Checks if chat capability is supported by the host
|
4059
|
-
*
|
4089
|
+
* Checks if the chat capability is supported by the host
|
4060
4090
|
* @returns boolean to represent whether the chat capability is supported
|
4061
4091
|
*
|
4092
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
4093
|
+
*
|
4062
4094
|
* @beta
|
4063
4095
|
*/
|
4064
4096
|
function isSupported(): boolean;
|
@@ -4169,9 +4201,10 @@ export namespace dialog {
|
|
4169
4201
|
*/
|
4170
4202
|
function registerOnMessageFromParent(listener: PostMessageChannel): void;
|
4171
4203
|
/**
|
4172
|
-
* Checks if dialog
|
4204
|
+
* Checks if dialog capability is supported by the host
|
4205
|
+
* @returns boolean to represent whether dialog capabilty is supported
|
4173
4206
|
*
|
4174
|
-
* @
|
4207
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
4175
4208
|
*
|
4176
4209
|
* @beta
|
4177
4210
|
*/
|
@@ -4192,8 +4225,9 @@ export namespace dialog {
|
|
4192
4225
|
function resize(dimensions: DialogSize): void;
|
4193
4226
|
/**
|
4194
4227
|
* Checks if dialog.update capability is supported by the host
|
4228
|
+
* @returns boolean to represent whether dialog.update capabilty is supported
|
4195
4229
|
*
|
4196
|
-
* @
|
4230
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
4197
4231
|
*
|
4198
4232
|
* @beta
|
4199
4233
|
*/
|
@@ -4219,9 +4253,10 @@ export namespace dialog {
|
|
4219
4253
|
function open(botUrlDialogInfo: BotUrlDialogInfo, submitHandler?: DialogSubmitHandler, messageFromChildHandler?: PostMessageChannel): void;
|
4220
4254
|
/**
|
4221
4255
|
* Checks if dialog.bot capability is supported by the host
|
4222
|
-
*
|
4223
4256
|
* @returns boolean to represent whether dialog.bot is supported
|
4224
4257
|
*
|
4258
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
4259
|
+
*
|
4225
4260
|
* @beta
|
4226
4261
|
*/
|
4227
4262
|
function isSupported(): boolean;
|
@@ -4309,9 +4344,10 @@ export namespace geoLocation {
|
|
4309
4344
|
function requestPermission(): Promise<boolean>;
|
4310
4345
|
/**
|
4311
4346
|
* Checks if geoLocation capability is supported by the host
|
4312
|
-
*
|
4313
4347
|
* @returns boolean to represent whether geoLocation is supported
|
4314
4348
|
*
|
4349
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
4350
|
+
*
|
4315
4351
|
* @beta
|
4316
4352
|
*/
|
4317
4353
|
function isSupported(): boolean;
|
@@ -4340,9 +4376,10 @@ export namespace geoLocation {
|
|
4340
4376
|
function showLocation(location: Location): Promise<void>;
|
4341
4377
|
/**
|
4342
4378
|
* Checks if geoLocation.map capability is supported by the host
|
4343
|
-
*
|
4344
4379
|
* @returns boolean to represent whether geoLocation.map is supported
|
4345
4380
|
*
|
4381
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
4382
|
+
*
|
4346
4383
|
* @beta
|
4347
4384
|
*/
|
4348
4385
|
function isSupported(): boolean;
|
@@ -4459,8 +4496,9 @@ export namespace pages {
|
|
4459
4496
|
function registerFullScreenHandler(handler: (isFullScreen: boolean) => void): void;
|
4460
4497
|
/**
|
4461
4498
|
* Checks if the pages capability is supported by the host
|
4462
|
-
* @returns
|
4463
|
-
*
|
4499
|
+
* @returns boolean to represent whether the appEntity capability is supported
|
4500
|
+
*
|
4501
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
4464
4502
|
*/
|
4465
4503
|
function isSupported(): boolean;
|
4466
4504
|
/**
|
@@ -4515,8 +4553,9 @@ export namespace pages {
|
|
4515
4553
|
function getMruTabInstances(tabInstanceParameters?: TabInstanceParameters): Promise<TabInformation>;
|
4516
4554
|
/**
|
4517
4555
|
* Checks if the pages.tab capability is supported by the host
|
4518
|
-
* @returns
|
4519
|
-
*
|
4556
|
+
* @returns boolean to represent whether the pages.tab capability is supported
|
4557
|
+
*
|
4558
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
4520
4559
|
*/
|
4521
4560
|
function isSupported(): boolean;
|
4522
4561
|
}
|
@@ -4635,8 +4674,9 @@ export namespace pages {
|
|
4635
4674
|
}
|
4636
4675
|
/**
|
4637
4676
|
* Checks if the pages.config capability is supported by the host
|
4638
|
-
* @returns
|
4639
|
-
*
|
4677
|
+
* @returns boolean to represent whether the pages.config capability is supported
|
4678
|
+
*
|
4679
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
4640
4680
|
*/
|
4641
4681
|
function isSupported(): boolean;
|
4642
4682
|
}
|
@@ -4671,8 +4711,9 @@ export namespace pages {
|
|
4671
4711
|
function registerBackButtonHandlerHelper(handler: () => boolean, versionSpecificHelper?: () => void): void;
|
4672
4712
|
/**
|
4673
4713
|
* Checks if the pages.backStack capability is supported by the host
|
4674
|
-
* @returns
|
4675
|
-
*
|
4714
|
+
* @returns boolean to represent whether the pages.backStack capability is supported
|
4715
|
+
*
|
4716
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
4676
4717
|
*/
|
4677
4718
|
function isSupported(): boolean;
|
4678
4719
|
}
|
@@ -4699,11 +4740,11 @@ export namespace pages {
|
|
4699
4740
|
function exitFullscreen(): void;
|
4700
4741
|
/**
|
4701
4742
|
* @hidden
|
4702
|
-
*
|
4703
|
-
* ------
|
4743
|
+
*
|
4704
4744
|
* Checks if the pages.fullTrust capability is supported by the host
|
4705
|
-
* @returns
|
4706
|
-
*
|
4745
|
+
* @returns boolean to represent whether the pages.fullTrust capability is supported
|
4746
|
+
*
|
4747
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
4707
4748
|
*/
|
4708
4749
|
function isSupported(): boolean;
|
4709
4750
|
}
|
@@ -4731,8 +4772,9 @@ export namespace pages {
|
|
4731
4772
|
function onHoverLeave(handler: () => void): void;
|
4732
4773
|
/**
|
4733
4774
|
* Checks if pages.appButton capability is supported by the host
|
4734
|
-
* @returns
|
4735
|
-
*
|
4775
|
+
* @returns boolean to represent whether the pages.appButton capability is supported
|
4776
|
+
*
|
4777
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
4736
4778
|
*/
|
4737
4779
|
function isSupported(): boolean;
|
4738
4780
|
}
|
@@ -4776,8 +4818,9 @@ export namespace pages {
|
|
4776
4818
|
function navigateToDefaultPage(): Promise<void>;
|
4777
4819
|
/**
|
4778
4820
|
* Checks if pages.currentApp capability is supported by the host
|
4779
|
-
* @returns
|
4780
|
-
*
|
4821
|
+
* @returns boolean to represent whether the pages.currentApp capability is supported
|
4822
|
+
*
|
4823
|
+
* @throws Error if {@linkcode app.initialize} has not successfully complete
|
4781
4824
|
*
|
4782
4825
|
* @beta
|
4783
4826
|
*/
|
@@ -5007,6 +5050,12 @@ export namespace menus {
|
|
5007
5050
|
* @param handler - The handler to invoke when the user selects menu item.
|
5008
5051
|
*/
|
5009
5052
|
function showActionMenu(params: ActionMenuParameters, handler: (id: string) => boolean): void;
|
5053
|
+
/**
|
5054
|
+
* Checks if the menus capability is supported by the host
|
5055
|
+
* @returns boolean to represent whether the menus capability is supported
|
5056
|
+
*
|
5057
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
5058
|
+
*/
|
5010
5059
|
function isSupported(): boolean;
|
5011
5060
|
}
|
5012
5061
|
|
@@ -5444,6 +5493,8 @@ export namespace location {
|
|
5444
5493
|
*
|
5445
5494
|
* Checks if Location capability is supported by the host
|
5446
5495
|
*
|
5496
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
5497
|
+
*
|
5447
5498
|
* @returns boolean to represent whether Location is supported
|
5448
5499
|
*/
|
5449
5500
|
function isSupported(): boolean;
|
@@ -5802,6 +5853,39 @@ export namespace meeting {
|
|
5802
5853
|
* @beta
|
5803
5854
|
*/
|
5804
5855
|
function registerMeetingReactionReceivedHandler(handler: (eventData: MeetingReactionReceivedEventData) => void): void;
|
5856
|
+
/**
|
5857
|
+
* Nested namespace for functions to control behavior of the app share button
|
5858
|
+
*
|
5859
|
+
* @beta
|
5860
|
+
*/
|
5861
|
+
namespace appShareButton {
|
5862
|
+
/**
|
5863
|
+
* Property bag for the setVisibilityInfo
|
5864
|
+
*
|
5865
|
+
* @beta
|
5866
|
+
*/
|
5867
|
+
interface ShareInformation {
|
5868
|
+
/**
|
5869
|
+
* boolean flag to set show or hide app share button
|
5870
|
+
*/
|
5871
|
+
isVisible: boolean;
|
5872
|
+
/**
|
5873
|
+
* optional string contentUrl, which will override contentUrl coming from Manifest
|
5874
|
+
*/
|
5875
|
+
contentUrl?: string;
|
5876
|
+
}
|
5877
|
+
/**
|
5878
|
+
* By default app share button will be hidden and this API will govern the visibility of it.
|
5879
|
+
*
|
5880
|
+
* This function can be used to hide/show app share button in meeting,
|
5881
|
+
* along with contentUrl (overrides contentUrl populated in app manifest)
|
5882
|
+
* @throws standard Invalid Url error
|
5883
|
+
* @param shareInformation has two elements, one isVisible boolean flag and another
|
5884
|
+
* optional string contentUrl, which will override contentUrl coming from Manifest
|
5885
|
+
* @beta
|
5886
|
+
*/
|
5887
|
+
function setOptions(shareInformation: ShareInformation): void;
|
5888
|
+
}
|
5805
5889
|
}
|
5806
5890
|
|
5807
5891
|
export namespace monetization {
|
@@ -5851,12 +5935,26 @@ export namespace monetization {
|
|
5851
5935
|
* Limited to Microsoft-internal use
|
5852
5936
|
*/
|
5853
5937
|
function openPurchaseExperience(callback: (error: SdkError | null) => void, planInfo?: PlanInfo): void;
|
5938
|
+
/**
|
5939
|
+
* @hidden
|
5940
|
+
*
|
5941
|
+
* Checks if the monetization capability is supported by the host
|
5942
|
+
* @returns boolean to represent whether the monetization capability is supported
|
5943
|
+
*
|
5944
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
5945
|
+
*/
|
5854
5946
|
function isSupported(): boolean;
|
5855
5947
|
}
|
5856
5948
|
|
5857
5949
|
export namespace calendar {
|
5858
5950
|
function openCalendarItem(openCalendarItemParams: OpenCalendarItemParams): Promise<void>;
|
5859
5951
|
function composeMeeting(composeMeetingParams: ComposeMeetingParams): Promise<void>;
|
5952
|
+
/**
|
5953
|
+
* Checks if the calendar capability is supported by the host
|
5954
|
+
* @returns boolean to represent whether the calendar capability is supported
|
5955
|
+
*
|
5956
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
5957
|
+
*/
|
5860
5958
|
function isSupported(): boolean;
|
5861
5959
|
interface OpenCalendarItemParams {
|
5862
5960
|
itemId: string;
|
@@ -5873,6 +5971,12 @@ export namespace calendar {
|
|
5873
5971
|
export namespace mail {
|
5874
5972
|
export function openMailItem(openMailItemParams: OpenMailItemParams): Promise<void>;
|
5875
5973
|
export function composeMail(composeMailParams: ComposeMailParams): Promise<void>;
|
5974
|
+
/**
|
5975
|
+
* Checks if the mail capability is supported by the host
|
5976
|
+
* @returns boolean to represent whether the mail capability is supported
|
5977
|
+
*
|
5978
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
5979
|
+
*/
|
5876
5980
|
export function isSupported(): boolean;
|
5877
5981
|
export interface OpenMailItemParams {
|
5878
5982
|
itemId: string;
|
@@ -5962,8 +6066,11 @@ export namespace teamsCore {
|
|
5962
6066
|
function registerBeforeUnloadHandlerHelper(handler: (readyToUnload: () => void) => boolean, versionSpecificHelper?: () => void): void;
|
5963
6067
|
/**
|
5964
6068
|
* Checks if teamsCore capability is supported by the host
|
5965
|
-
*
|
5966
|
-
*
|
6069
|
+
*
|
6070
|
+
* @returns boolean to represent whether the teamsCore capability is supported
|
6071
|
+
*
|
6072
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
6073
|
+
*
|
5967
6074
|
*/
|
5968
6075
|
function isSupported(): boolean;
|
5969
6076
|
}
|
@@ -6032,6 +6139,12 @@ export namespace people {
|
|
6032
6139
|
*/
|
6033
6140
|
email?: string;
|
6034
6141
|
}
|
6142
|
+
/**
|
6143
|
+
* Checks if the people capability is supported by the host
|
6144
|
+
* @returns boolean to represent whether the people capability is supported
|
6145
|
+
*
|
6146
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
6147
|
+
*/
|
6035
6148
|
function isSupported(): boolean;
|
6036
6149
|
}
|
6037
6150
|
|
@@ -6133,9 +6246,10 @@ export namespace profile {
|
|
6133
6246
|
}
|
6134
6247
|
/**
|
6135
6248
|
* Checks if the profile capability is supported by the host
|
6136
|
-
*
|
6137
6249
|
* @returns boolean to represent whether the profile capability is supported
|
6138
6250
|
*
|
6251
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
6252
|
+
*
|
6139
6253
|
* @beta
|
6140
6254
|
*/
|
6141
6255
|
function isSupported(): boolean;
|
@@ -6149,6 +6263,12 @@ export type Rectangle = {
|
|
6149
6263
|
width: number;
|
6150
6264
|
height: number;
|
6151
6265
|
};
|
6266
|
+
/**
|
6267
|
+
* @beta
|
6268
|
+
* @hidden
|
6269
|
+
* An internal representation of the showProfile parameters suitable for sending via postMessage.
|
6270
|
+
* The hub expects to receive an object of this type.
|
6271
|
+
*/
|
6152
6272
|
export interface ShowProfileRequestInternal {
|
6153
6273
|
modality?: profile.Modality;
|
6154
6274
|
persona: profile.Persona;
|
@@ -6261,8 +6381,10 @@ export namespace video {
|
|
6261
6381
|
/**
|
6262
6382
|
* Checks if video capability is supported by the host
|
6263
6383
|
* @beta
|
6264
|
-
* @returns
|
6265
|
-
*
|
6384
|
+
* @returns boolean to represent whether the video capability is supported
|
6385
|
+
*
|
6386
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
6387
|
+
*
|
6266
6388
|
*/
|
6267
6389
|
function isSupported(): boolean;
|
6268
6390
|
}
|
@@ -6344,8 +6466,9 @@ export namespace search {
|
|
6344
6466
|
function unregisterHandlers(): void;
|
6345
6467
|
/**
|
6346
6468
|
* Checks if search capability is supported by the host
|
6347
|
-
* @returns
|
6348
|
-
*
|
6469
|
+
* @returns boolean to represent whether the search capability is supported
|
6470
|
+
*
|
6471
|
+
* @throws Error if {@link app.initialize} has not successfully completed
|
6349
6472
|
*
|
6350
6473
|
* @beta
|
6351
6474
|
*/
|
@@ -6398,6 +6521,12 @@ export namespace sharing {
|
|
6398
6521
|
* @param callback - optional callback
|
6399
6522
|
*/
|
6400
6523
|
export function shareWebContent(shareWebContentRequest: IShareRequest<IShareRequestContentType>, callback: (err?: SdkError) => void): void;
|
6524
|
+
/**
|
6525
|
+
* Checks if the sharing capability is supported by the host
|
6526
|
+
* @returns boolean to represent whether the sharing capability is supported
|
6527
|
+
*
|
6528
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
6529
|
+
*/
|
6401
6530
|
export function isSupported(): boolean;
|
6402
6531
|
export {};
|
6403
6532
|
}
|
@@ -6450,8 +6579,10 @@ export namespace stageView {
|
|
6450
6579
|
/**
|
6451
6580
|
* Checks if stageView capability is supported by the host
|
6452
6581
|
* @beta
|
6453
|
-
* @returns
|
6454
|
-
*
|
6582
|
+
* @returns boolean to represent whether the stageView capability is supported
|
6583
|
+
*
|
6584
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
6585
|
+
*
|
6455
6586
|
*/
|
6456
6587
|
function isSupported(): boolean;
|
6457
6588
|
}
|
@@ -6474,8 +6605,9 @@ export namespace webStorage {
|
|
6474
6605
|
function isWebStorageClearedOnUserLogOut(): boolean;
|
6475
6606
|
/**
|
6476
6607
|
* Checks if webStorage capability is supported by the host
|
6477
|
-
* @returns
|
6478
|
-
*
|
6608
|
+
* @returns boolean to represent whether the webStorage capability is supported
|
6609
|
+
*
|
6610
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
6479
6611
|
*
|
6480
6612
|
* @beta
|
6481
6613
|
*/
|
@@ -6516,6 +6648,12 @@ export namespace call {
|
|
6516
6648
|
* @returns If the call is accepted
|
6517
6649
|
*/
|
6518
6650
|
function startCall(startCallParams: StartCallParams): Promise<boolean>;
|
6651
|
+
/**
|
6652
|
+
* Checks if the call capability is supported by the host
|
6653
|
+
* @returns boolean to represent whether the call capability is supported
|
6654
|
+
*
|
6655
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
6656
|
+
*/
|
6519
6657
|
function isSupported(): boolean;
|
6520
6658
|
}
|
6521
6659
|
|