@microsoft/teams-js 2.0.0-beta.4-dev.20 → 2.0.0-beta.4-dev.21
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 +192 -200
- package/dist/MicrosoftTeams.js +432 -352
- 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 -1
package/dist/MicrosoftTeams.d.ts
CHANGED
@@ -1,94 +1,5 @@
|
|
1
1
|
// Generated by dts-bundle v0.7.3
|
2
2
|
|
3
|
-
/**
|
4
|
-
* @hidden
|
5
|
-
* Namespace to interact with bots using the SDK.
|
6
|
-
*
|
7
|
-
* @alpha
|
8
|
-
*/
|
9
|
-
export namespace bot {
|
10
|
-
/**
|
11
|
-
* @hidden
|
12
|
-
* Hide from docs until release.
|
13
|
-
* ------
|
14
|
-
* Sends query to bot in order to retrieve data.
|
15
|
-
*
|
16
|
-
* @param botRequest - query to send to bot.
|
17
|
-
* @param onSuccess - callback to invoke when data is retrieved from bot
|
18
|
-
* @param onError - callback to invoke should an error occur
|
19
|
-
*/
|
20
|
-
export function sendQuery(botRequest: QueryRequest, onSuccess?: (data: QueryResponse) => void, onError?: (error: string) => void): void;
|
21
|
-
/**
|
22
|
-
* @hidden
|
23
|
-
* Hide from docs until release.
|
24
|
-
* -----
|
25
|
-
* Retrieves list of support commands from bot
|
26
|
-
*
|
27
|
-
* @param onSuccess - callback to invoke when data is retrieved from bot
|
28
|
-
* @param onError - callback to invoke should an error occur
|
29
|
-
*/
|
30
|
-
export function getSupportedCommands(onSuccess?: (response: Command[]) => void, onError?: (error: string) => void): void;
|
31
|
-
/**
|
32
|
-
* @hidden
|
33
|
-
* Hide from docs until release.
|
34
|
-
* -----
|
35
|
-
* Authenticates a user for json tab
|
36
|
-
*
|
37
|
-
* @param authRequest - callback to invoke when data is retrieved from bot
|
38
|
-
* @param onSuccess - callback to invoke when user is authenticated
|
39
|
-
* @param onError - callback to invoke should an error occur
|
40
|
-
*/
|
41
|
-
export function authenticate(authRequest: AuthQueryRequest, onSuccess?: (results: Results) => void, onError?: (error: string) => void): void;
|
42
|
-
export interface QueryRequest {
|
43
|
-
/**
|
44
|
-
* @hidden
|
45
|
-
* Query to search for
|
46
|
-
*/
|
47
|
-
query: string;
|
48
|
-
commandId?: string;
|
49
|
-
option?: {
|
50
|
-
skip: number;
|
51
|
-
count: number;
|
52
|
-
};
|
53
|
-
}
|
54
|
-
export interface Results {
|
55
|
-
attachments: Attachment[];
|
56
|
-
layout: any;
|
57
|
-
botId: string;
|
58
|
-
}
|
59
|
-
export interface Auth {
|
60
|
-
url: string;
|
61
|
-
title: string;
|
62
|
-
}
|
63
|
-
export type ResponseType = 'Results' | 'Auth';
|
64
|
-
interface Response<T extends ResponseType> {
|
65
|
-
type: T;
|
66
|
-
}
|
67
|
-
export interface ResultResponse extends Response<'Results'> {
|
68
|
-
data: Results;
|
69
|
-
}
|
70
|
-
export interface AuthResponse extends Response<'Auth'> {
|
71
|
-
data: Auth;
|
72
|
-
}
|
73
|
-
export type QueryResponse = ResultResponse | AuthResponse;
|
74
|
-
export interface AuthQueryRequest extends QueryRequest {
|
75
|
-
url: string;
|
76
|
-
}
|
77
|
-
export interface Attachment {
|
78
|
-
card: any;
|
79
|
-
previewCard: any;
|
80
|
-
previewRawPayload: any;
|
81
|
-
rawPayload: any;
|
82
|
-
}
|
83
|
-
export interface Command {
|
84
|
-
title: string;
|
85
|
-
id: string;
|
86
|
-
initialRun: boolean;
|
87
|
-
}
|
88
|
-
export function isSupported(): boolean;
|
89
|
-
export {};
|
90
|
-
}
|
91
|
-
|
92
3
|
/**
|
93
4
|
* @hidden
|
94
5
|
* Namespace to interact with the logging part of the SDK.
|
@@ -351,50 +262,6 @@ export function registerCustomHandler(actionName: string, customHandler: (...arg
|
|
351
262
|
*/
|
352
263
|
export function registerUserSettingsChangeHandler(settingTypes: UserSettingTypes[], handler: (settingType: UserSettingTypes, value: any) => void): void;
|
353
264
|
|
354
|
-
/**
|
355
|
-
*
|
356
|
-
* @internal
|
357
|
-
*/
|
358
|
-
interface OpenChatRequest {
|
359
|
-
/**
|
360
|
-
* @hidden
|
361
|
-
* The message to send when opening chat
|
362
|
-
*/
|
363
|
-
message?: string;
|
364
|
-
}
|
365
|
-
/**
|
366
|
-
* @hidden
|
367
|
-
* Hide from docs.
|
368
|
-
* ------
|
369
|
-
*
|
370
|
-
* @internal
|
371
|
-
*/
|
372
|
-
export interface OpenSingleChatRequest extends OpenChatRequest {
|
373
|
-
/**
|
374
|
-
* @hidden
|
375
|
-
* User's UPN to open chat with
|
376
|
-
*/
|
377
|
-
user: string;
|
378
|
-
}
|
379
|
-
/**
|
380
|
-
* @hidden
|
381
|
-
* Hide from docs.
|
382
|
-
* ------
|
383
|
-
*
|
384
|
-
* @internal
|
385
|
-
*/
|
386
|
-
export interface OpenGroupChatRequest extends OpenChatRequest {
|
387
|
-
/**
|
388
|
-
* @hidden
|
389
|
-
* Array containing UPNs of users to open chat with
|
390
|
-
*/
|
391
|
-
users: string[];
|
392
|
-
/**
|
393
|
-
* @hidden
|
394
|
-
* The display name of a conversation for 3 or more users
|
395
|
-
*/
|
396
|
-
topic?: string;
|
397
|
-
}
|
398
265
|
/**
|
399
266
|
* @hidden
|
400
267
|
* Hide from docs.
|
@@ -474,32 +341,23 @@ export interface ConversationResponse {
|
|
474
341
|
*
|
475
342
|
* @alpha
|
476
343
|
*/
|
477
|
-
export namespace
|
344
|
+
export namespace conversation {
|
478
345
|
/**
|
479
346
|
* @hidden
|
480
347
|
* Hide from docs
|
481
348
|
* --------------
|
482
|
-
* Allows the user to
|
483
|
-
* for the user to specify the message they wish to send.
|
484
|
-
*
|
485
|
-
*@param openChatRequest: {@link OpenSingleChatRequest}- a request object that contains a user's email as well as an optional message parameter.
|
349
|
+
* Allows the user to start or continue a conversation with each subentity inside the tab
|
486
350
|
*
|
487
351
|
* @returns Promise resolved upon completion
|
488
352
|
*/
|
489
|
-
function
|
353
|
+
function openConversation(openConversationRequest: OpenConversationRequest): Promise<void>;
|
490
354
|
/**
|
491
355
|
* @hidden
|
492
356
|
* Hide from docs
|
493
357
|
* --------------
|
494
|
-
* Allows the user to
|
495
|
-
* for the user to specify a message and name the topic of the conversation. If
|
496
|
-
* only 1 user is provided into users array default back to origin openChat.
|
497
|
-
*
|
498
|
-
* @param openChatRequest: {@link OpenGroupChatRequest} - a request object that contains a list of user emails as well as optional parameters for message and topic (display name for the group chat).
|
499
|
-
*
|
500
|
-
* @returns Promise resolved upon completion
|
358
|
+
* Allows the user to close the conversation in the right pane
|
501
359
|
*/
|
502
|
-
function
|
360
|
+
function closeConversation(): void;
|
503
361
|
/**
|
504
362
|
* @hidden
|
505
363
|
* Hide from docs
|
@@ -514,27 +372,7 @@ export namespace chat {
|
|
514
372
|
*/
|
515
373
|
function getChatMembers(): Promise<ChatMembersInformation>;
|
516
374
|
function isSupported(): boolean;
|
517
|
-
namespace conversation {
|
518
|
-
/**
|
519
|
-
* @hidden
|
520
|
-
* Hide from docs
|
521
|
-
* --------------
|
522
|
-
* Allows the user to start or continue a conversation with each subentity inside the tab
|
523
|
-
*
|
524
|
-
* @returns Promise resolved upon completion
|
525
|
-
*/
|
526
|
-
function openConversation(openConversationRequest: OpenConversationRequest): Promise<void>;
|
527
|
-
/**
|
528
|
-
* @hidden
|
529
|
-
* Hide from docs
|
530
|
-
* --------------
|
531
|
-
* Allows the user to close the conversation in the right pane
|
532
|
-
*/
|
533
|
-
function closeConversation(): void;
|
534
|
-
function isSupported(): boolean;
|
535
|
-
}
|
536
375
|
}
|
537
|
-
export {};
|
538
376
|
|
539
377
|
/**
|
540
378
|
* @hidden
|
@@ -911,10 +749,12 @@ export namespace files {
|
|
911
749
|
/**
|
912
750
|
* @hidden
|
913
751
|
* Hide from docs
|
914
|
-
*
|
915
|
-
* Open download preference folder
|
752
|
+
*
|
753
|
+
* Open download preference folder if fileObjectId value is undefined else open folder containing the file with id fileObjectId
|
754
|
+
* @param fileObjectId Id of the file whose containing folder should be opened
|
755
|
+
* @param callback Callback that will be triggered post open download folder/path
|
916
756
|
*/
|
917
|
-
export function openDownloadFolder(): void;
|
757
|
+
export function openDownloadFolder(fileObjectId: string, callback: (error?: SdkError) => void): void;
|
918
758
|
export {};
|
919
759
|
}
|
920
760
|
|
@@ -923,16 +763,19 @@ export namespace files {
|
|
923
763
|
*/
|
924
764
|
export namespace legacy {
|
925
765
|
namespace fullTrust {
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
766
|
+
namespace joinedTeams {
|
767
|
+
/**
|
768
|
+
* @hidden
|
769
|
+
* Hide from docs
|
770
|
+
* ------
|
771
|
+
* Allows an app to retrieve information of all user joined teams
|
772
|
+
*
|
773
|
+
* @param teamInstanceParameters - OPTIONAL Flags that specify whether to scope call to favorite teams
|
774
|
+
* @returns Promise resolved containing information about the user joined teams or rejected with error
|
775
|
+
*/
|
776
|
+
function getUserJoinedTeams(teamInstanceParameters?: TeamInstanceParameters): Promise<UserJoinedTeamsInformation>;
|
777
|
+
function isSupported(): boolean;
|
778
|
+
}
|
936
779
|
/**
|
937
780
|
* @hidden
|
938
781
|
* Hide from docs
|
@@ -995,7 +838,7 @@ export namespace meetingRoom {
|
|
995
838
|
* ------
|
996
839
|
* Types of Stage Layout control capabilities of a meeting room.
|
997
840
|
*/
|
998
|
-
type StageLayoutControls = 'showVideoGallery' | 'showContent' | '
|
841
|
+
type StageLayoutControls = 'showVideoGallery' | 'showContent' | 'showVideoGalleryAndContent' | 'showLargeGallery' | 'showTogether';
|
999
842
|
/**
|
1000
843
|
* @hidden
|
1001
844
|
* Hide from docs
|
@@ -2122,8 +1965,8 @@ export interface Context {
|
|
2122
1965
|
hostName?: HostName;
|
2123
1966
|
/**
|
2124
1967
|
* @hidden
|
2125
|
-
* The type of the host client. Possible values are : android, ios, web, desktop, rigel
|
2126
|
-
* teamsRoomsWindows, teamsRoomsAndroid, teamsPhones, teamsDisplays
|
1968
|
+
* The type of the host client. Possible values are : android, ios, web, desktop, rigel(deprecated, use teamsRoomsWindows instead),
|
1969
|
+
* surfaceHub, teamsRoomsWindows, teamsRoomsAndroid, teamsPhones, teamsDisplays
|
2127
1970
|
*/
|
2128
1971
|
hostClientType?: HostClientType;
|
2129
1972
|
/**
|
@@ -2254,6 +2097,9 @@ export interface DeepLinkParameters {
|
|
2254
2097
|
*/
|
2255
2098
|
subEntityWebUrl?: string;
|
2256
2099
|
}
|
2100
|
+
/**
|
2101
|
+
* Data structure to represent the size of a dialog
|
2102
|
+
*/
|
2257
2103
|
export interface DialogSize {
|
2258
2104
|
/**
|
2259
2105
|
* The requested height of the webview/iframe.
|
@@ -2264,6 +2110,9 @@ export interface DialogSize {
|
|
2264
2110
|
*/
|
2265
2111
|
width: DialogDimension | number;
|
2266
2112
|
}
|
2113
|
+
/**
|
2114
|
+
* Data structure to describe dialog information needed to open a url based dialog.
|
2115
|
+
*/
|
2267
2116
|
export interface UrlDialogInfo {
|
2268
2117
|
/**
|
2269
2118
|
* The url to be rendered in the webview/iframe.
|
@@ -2279,6 +2128,9 @@ export interface UrlDialogInfo {
|
|
2279
2128
|
*/
|
2280
2129
|
fallbackUrl?: string;
|
2281
2130
|
}
|
2131
|
+
/**
|
2132
|
+
* Data structure to describe dialog information needed to open a bot based dialog.
|
2133
|
+
*/
|
2282
2134
|
export interface BotUrlDialogInfo extends UrlDialogInfo {
|
2283
2135
|
/**
|
2284
2136
|
* Specifies a bot ID to send the result of the user's interaction with the task module.
|
@@ -2851,25 +2703,115 @@ export namespace appInstallDialog {
|
|
2851
2703
|
}
|
2852
2704
|
|
2853
2705
|
/**
|
2854
|
-
* Namespace to interact with the dialog module-specific part of the SDK.
|
2855
2706
|
*
|
2856
|
-
* @
|
2857
|
-
|
2707
|
+
* @internal
|
2708
|
+
*/
|
2709
|
+
interface OpenChatRequest {
|
2710
|
+
/**
|
2711
|
+
* @hidden
|
2712
|
+
* The message to send when opening chat
|
2713
|
+
*/
|
2714
|
+
message?: string;
|
2715
|
+
}
|
2716
|
+
/**
|
2717
|
+
* @hidden
|
2718
|
+
* Hide from docs.
|
2719
|
+
* ------
|
2858
2720
|
*
|
2859
|
-
* @
|
2721
|
+
* @internal
|
2722
|
+
*/
|
2723
|
+
export interface OpenSingleChatRequest extends OpenChatRequest {
|
2724
|
+
/**
|
2725
|
+
* @hidden
|
2726
|
+
* User's UPN to open chat with
|
2727
|
+
*/
|
2728
|
+
user: string;
|
2729
|
+
}
|
2730
|
+
/**
|
2731
|
+
* @hidden
|
2732
|
+
* Hide from docs.
|
2733
|
+
* ------
|
2734
|
+
*
|
2735
|
+
* @internal
|
2860
2736
|
*/
|
2861
|
-
export interface
|
2862
|
-
|
2863
|
-
|
2737
|
+
export interface OpenGroupChatRequest extends OpenChatRequest {
|
2738
|
+
/**
|
2739
|
+
* @hidden
|
2740
|
+
* Array containing UPNs of users to open chat with
|
2741
|
+
*/
|
2742
|
+
users: string[];
|
2743
|
+
/**
|
2744
|
+
* @hidden
|
2745
|
+
* The display name of a conversation for 3 or more users
|
2746
|
+
*/
|
2747
|
+
topic?: string;
|
2748
|
+
}
|
2749
|
+
/**
|
2750
|
+
* @hidden
|
2751
|
+
* Namespace to interact with the conversational subEntities inside the tab
|
2752
|
+
*
|
2753
|
+
* @alpha
|
2754
|
+
*/
|
2755
|
+
export namespace chat {
|
2756
|
+
/**
|
2757
|
+
* @hidden
|
2758
|
+
* Hide from docs
|
2759
|
+
* --------------
|
2760
|
+
* Allows the user to open a chat with a single user and allows
|
2761
|
+
* for the user to specify the message they wish to send.
|
2762
|
+
*
|
2763
|
+
*@param openChatRequest: {@link OpenSingleChatRequest}- a request object that contains a user's email as well as an optional message parameter.
|
2764
|
+
*
|
2765
|
+
* @returns Promise resolved upon completion
|
2766
|
+
*/
|
2767
|
+
function openChat(openChatRequest: OpenSingleChatRequest): Promise<void>;
|
2768
|
+
/**
|
2769
|
+
* @hidden
|
2770
|
+
* Hide from docs
|
2771
|
+
* --------------
|
2772
|
+
* Allows the user to create a chat with multiple users (2+) and allows
|
2773
|
+
* for the user to specify a message and name the topic of the conversation. If
|
2774
|
+
* only 1 user is provided into users array default back to origin openChat.
|
2775
|
+
*
|
2776
|
+
* @param openChatRequest: {@link OpenGroupChatRequest} - a request object that contains a list of user emails as well as optional parameters for message and topic (display name for the group chat).
|
2777
|
+
*
|
2778
|
+
* @returns Promise resolved upon completion
|
2779
|
+
*/
|
2780
|
+
function openGroupChat(openChatRequest: OpenGroupChatRequest): Promise<void>;
|
2781
|
+
function isSupported(): boolean;
|
2864
2782
|
}
|
2783
|
+
export {};
|
2784
|
+
|
2785
|
+
/**
|
2786
|
+
* Namespace to interact with the dialog module-specific part of the SDK.
|
2787
|
+
*
|
2788
|
+
* @beta
|
2789
|
+
*/
|
2865
2790
|
export namespace dialog {
|
2791
|
+
/**
|
2792
|
+
* Data Structure to represent the SDK response when dialog closes
|
2793
|
+
*/
|
2794
|
+
interface ISdkResponse {
|
2795
|
+
/**
|
2796
|
+
* Error in case there is a failure before dialog submission
|
2797
|
+
*/
|
2798
|
+
err?: string;
|
2799
|
+
/**
|
2800
|
+
* Result value that the dialog is submitted with using {@linkcode submit} function
|
2801
|
+
*
|
2802
|
+
*/
|
2803
|
+
result?: string | object;
|
2804
|
+
}
|
2866
2805
|
type PostMessageChannel = (message: any) => void;
|
2867
|
-
type DialogSubmitHandler = (result:
|
2806
|
+
type DialogSubmitHandler = (result: ISdkResponse) => void;
|
2868
2807
|
/**
|
2869
|
-
* Allows
|
2808
|
+
* Allows app to open a url based dialog.
|
2809
|
+
*
|
2810
|
+
* @remarks
|
2811
|
+
* This function cannot be called from inside of a dialog
|
2870
2812
|
*
|
2871
2813
|
* @param urlDialogInfo - An object containing the parameters of the dialog module.
|
2872
|
-
* @param submitHandler -
|
2814
|
+
* @param submitHandler - Handler that triggers when a dialog calls the {@linkcode submit} function or when the user closes the dialog.
|
2873
2815
|
* @param messageFromChildHandler - Handler that triggers if dialog sends a message to the app.
|
2874
2816
|
*
|
2875
2817
|
* @returns a function that can be used to send messages to the dialog.
|
@@ -2878,24 +2820,37 @@ export namespace dialog {
|
|
2878
2820
|
/**
|
2879
2821
|
* Submit the dialog module.
|
2880
2822
|
*
|
2881
|
-
* @param result -
|
2823
|
+
* @param result - The result to be sent to the bot or the app. Typically a JSON object or a serialized version of it
|
2882
2824
|
* @param appIds - Helps to validate that the call originates from the same appId as the one that invoked the task module
|
2883
2825
|
*/
|
2884
2826
|
function submit(result?: string | object, appIds?: string | string[]): void;
|
2885
2827
|
/**
|
2886
2828
|
* Send message to the parent from dialog
|
2887
2829
|
*
|
2888
|
-
*
|
2830
|
+
* @remarks
|
2831
|
+
* This function is only called from inside of a dialog
|
2832
|
+
*
|
2833
|
+
* @param message - The message to send to the parent
|
2889
2834
|
*/
|
2890
2835
|
function sendMessageToParentFromDialog(message: any): void;
|
2891
2836
|
/**
|
2892
|
-
*
|
2837
|
+
* Register a listener that will be triggered when a message is received from the app that opened the dialog.
|
2893
2838
|
*
|
2894
|
-
* @
|
2895
|
-
*
|
2839
|
+
* @remarks
|
2840
|
+
* This function is only called from inside of a dialog.
|
2841
|
+
*
|
2842
|
+
* @param listener - The listener that will be triggered.
|
2843
|
+
*/
|
2844
|
+
function registerOnMessageFromParent(listener: PostMessageChannel): void;
|
2845
|
+
/**
|
2846
|
+
* Checks if dialog module is supported by the host
|
2847
|
+
*
|
2848
|
+
* @returns boolean to represent whether dialog module is supported
|
2896
2849
|
*/
|
2897
|
-
function registerOnMessageFromParent(listener: (message: any) => void): void;
|
2898
2850
|
function isSupported(): boolean;
|
2851
|
+
/**
|
2852
|
+
* Namespace to update the dialog
|
2853
|
+
*/
|
2899
2854
|
namespace update {
|
2900
2855
|
/**
|
2901
2856
|
* Update dimensions - height/width of a dialog.
|
@@ -2903,10 +2858,32 @@ export namespace dialog {
|
|
2903
2858
|
* @param dimensions - An object containing width and height properties.
|
2904
2859
|
*/
|
2905
2860
|
function resize(dimensions: DialogSize): void;
|
2861
|
+
/**
|
2862
|
+
* Checks if dialog.update capability is supported by the host
|
2863
|
+
*
|
2864
|
+
* @returns boolean to represent whether dialog.update is supported
|
2865
|
+
*/
|
2906
2866
|
function isSupported(): boolean;
|
2907
2867
|
}
|
2868
|
+
/**
|
2869
|
+
* Namespace to open a dialog that sends results to the bot framework
|
2870
|
+
*/
|
2908
2871
|
namespace bot {
|
2872
|
+
/**
|
2873
|
+
* Allows an app to open the dialog module using bot.
|
2874
|
+
*
|
2875
|
+
* @param botUrlDialogInfo - An object containing the parameters of the dialog module including completionBotId.
|
2876
|
+
* @param submitHandler - Handler that triggers when the dialog has been submitted or closed.
|
2877
|
+
* @param messageFromChildHandler - Handler that triggers if dialog sends a message to the app.
|
2878
|
+
*
|
2879
|
+
* @returns a function that can be used to send messages to the dialog.
|
2880
|
+
*/
|
2909
2881
|
function open(botUrlDialogInfo: BotUrlDialogInfo, submitHandler?: DialogSubmitHandler, messageFromChildHandler?: PostMessageChannel): PostMessageChannel;
|
2882
|
+
/**
|
2883
|
+
* Checks if dialog.bot capability is supported by the host
|
2884
|
+
*
|
2885
|
+
* @returns boolean to represent whether dialog.bot is supported
|
2886
|
+
*/
|
2910
2887
|
function isSupported(): boolean;
|
2911
2888
|
}
|
2912
2889
|
}
|
@@ -4047,6 +4024,13 @@ export namespace meeting {
|
|
4047
4024
|
*/
|
4048
4025
|
isAppSharing: boolean;
|
4049
4026
|
}
|
4027
|
+
interface ISpeakingState {
|
4028
|
+
/**
|
4029
|
+
* Indicates whether one or more participants in a meeting are speaking, or
|
4030
|
+
* if no participants are speaking
|
4031
|
+
*/
|
4032
|
+
isSpeakingDetected: boolean;
|
4033
|
+
}
|
4050
4034
|
interface IAppContentStageSharingCapabilities {
|
4051
4035
|
/**
|
4052
4036
|
* indicates whether app has permission to share contents to meeting stage
|
@@ -4301,6 +4285,13 @@ export namespace meeting {
|
|
4301
4285
|
* (indication of successful retrieval), or null (indication of failed retrieval)
|
4302
4286
|
*/
|
4303
4287
|
function getAppContentStageSharingState(callback: (error: SdkError | null, appContentStageSharingState: IAppContentStageSharingState | null) => void): void;
|
4288
|
+
/**
|
4289
|
+
* Registers a handler for changes to paticipant speaking states. If any participant is speaking, isSpeakingDetected
|
4290
|
+
* will be true. If no participants are speaking, isSpeakingDetected will be false. Only one handler can be registered
|
4291
|
+
* at a time. A subsequent registration replaces an existing registration.
|
4292
|
+
* @param handler The handler to invoke when the speaking state of any participant changes (start/stop speaking).
|
4293
|
+
*/
|
4294
|
+
function registerSpeakingStateChangeHandler(handler: (speakingState: ISpeakingState) => void): void;
|
4304
4295
|
}
|
4305
4296
|
|
4306
4297
|
/**
|
@@ -5172,7 +5163,8 @@ export namespace settings {
|
|
5172
5163
|
export namespace tasks {
|
5173
5164
|
/**
|
5174
5165
|
* @deprecated
|
5175
|
-
* As of 2.0.0-beta.4, please use {@link dialog.open(
|
5166
|
+
* As of 2.0.0-beta.4, please use {@link dialog.open(urlDialogInfo: UrlDialogInfo, submitHandler?: DialogSubmitHandler, messageFromChildHandler?: PostMessageChannel): PostMessageChannel} for url based dialogs
|
5167
|
+
* and {@link dialog.bot.open(botUrlDialogInfo: BotUrlDialogInfo, submitHandler?: DialogSubmitHandler, messageFromChildHandler?: PostMessageChannel): PostMessageChannel} for bot based dialogs.
|
5176
5168
|
*
|
5177
5169
|
* Allows an app to open the task module.
|
5178
5170
|
*
|