@microsoft/teams-js 2.31.0-beta.1 → 2.31.0-beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. package/dist/esm/packages/teams-js/dts/internal/appHelpers.d.ts +11 -1
  2. package/dist/esm/packages/teams-js/dts/internal/handlers.d.ts +11 -1
  3. package/dist/esm/packages/teams-js/dts/internal/hostToAppTelemetry.d.ts +51 -0
  4. package/dist/esm/packages/teams-js/dts/internal/interfaces.d.ts +11 -0
  5. package/dist/esm/packages/teams-js/dts/internal/messageObjects.d.ts +5 -0
  6. package/dist/esm/packages/teams-js/dts/internal/pagesHelpers.d.ts +24 -0
  7. package/dist/esm/packages/teams-js/dts/internal/profileUtil.d.ts +23 -1
  8. package/dist/esm/packages/teams-js/dts/internal/uint8array-extras/uint8array-extras.d.ts +6 -0
  9. package/dist/esm/packages/teams-js/dts/internal/utils.d.ts +20 -1
  10. package/dist/esm/packages/teams-js/dts/internal/videoEffectsUtils.d.ts +2 -2
  11. package/dist/esm/packages/teams-js/dts/internal/visualMediaHelpers.d.ts +14 -0
  12. package/dist/esm/packages/teams-js/dts/internal/webStorageHelpers.d.ts +4 -0
  13. package/dist/esm/packages/teams-js/dts/private/appEntity.d.ts +61 -61
  14. package/dist/esm/packages/teams-js/dts/private/conversations.d.ts +48 -48
  15. package/dist/esm/packages/teams-js/dts/private/copilot/copilot.d.ts +2 -0
  16. package/dist/esm/packages/teams-js/dts/private/copilot/eligibility.d.ts +29 -0
  17. package/dist/esm/packages/teams-js/dts/private/externalAppAuthentication.d.ts +355 -349
  18. package/dist/esm/packages/teams-js/dts/private/externalAppAuthenticationForCEA.d.ts +67 -68
  19. package/dist/esm/packages/teams-js/dts/private/externalAppCardActions.d.ts +104 -105
  20. package/dist/esm/packages/teams-js/dts/private/externalAppCardActionsForCEA.d.ts +41 -42
  21. package/dist/esm/packages/teams-js/dts/private/externalAppCommands.d.ts +113 -114
  22. package/dist/esm/packages/teams-js/dts/private/files.d.ts +590 -582
  23. package/dist/esm/packages/teams-js/dts/private/hostEntity/hostEntity.d.ts +42 -0
  24. package/dist/esm/packages/teams-js/dts/private/hostEntity/tab.d.ts +134 -0
  25. package/dist/esm/packages/teams-js/dts/private/index.d.ts +19 -18
  26. package/dist/esm/packages/teams-js/dts/private/logs.d.ts +31 -25
  27. package/dist/esm/packages/teams-js/dts/private/meetingRoom.d.ts +147 -142
  28. package/dist/esm/packages/teams-js/dts/private/messageChannels/dataLayer.d.ts +39 -0
  29. package/dist/esm/packages/teams-js/dts/private/messageChannels/messageChannels.d.ts +28 -0
  30. package/dist/esm/packages/teams-js/dts/private/messageChannels/telemetry.d.ts +39 -0
  31. package/dist/esm/packages/teams-js/dts/private/notifications.d.ts +31 -25
  32. package/dist/esm/packages/teams-js/dts/private/otherAppStateChange.d.ts +69 -70
  33. package/dist/esm/packages/teams-js/dts/private/remoteCamera.d.ts +219 -214
  34. package/dist/esm/packages/teams-js/dts/private/teams/fullTrust/fullTrust.d.ts +31 -0
  35. package/dist/esm/packages/teams-js/dts/private/teams/fullTrust/joinedTeams.d.ts +30 -0
  36. package/dist/esm/packages/teams-js/dts/private/teams/teams.d.ts +63 -0
  37. package/dist/esm/packages/teams-js/dts/private/videoEffectsEx.d.ts +192 -186
  38. package/dist/esm/packages/teams-js/dts/public/app/app.d.ts +21 -2
  39. package/dist/esm/packages/teams-js/dts/public/app/lifecycle.d.ts +3 -2
  40. package/dist/esm/packages/teams-js/dts/public/appInitialization.d.ts +1 -1
  41. package/dist/esm/packages/teams-js/dts/public/authentication.d.ts +6 -0
  42. package/dist/esm/packages/teams-js/dts/public/barCode.d.ts +2 -1
  43. package/dist/esm/packages/teams-js/dts/public/calendar.d.ts +1 -0
  44. package/dist/esm/packages/teams-js/dts/public/call.d.ts +1 -0
  45. package/dist/esm/packages/teams-js/dts/public/chat.d.ts +4 -0
  46. package/dist/esm/packages/teams-js/dts/public/clipboard.d.ts +1 -0
  47. package/dist/esm/packages/teams-js/dts/public/dialog/adaptiveCard/adaptiveCard.d.ts +0 -4
  48. package/dist/esm/packages/teams-js/dts/public/dialog/adaptiveCard/bot.d.ts +3 -2
  49. package/dist/esm/packages/teams-js/dts/public/dialog/dialog.d.ts +0 -13
  50. package/dist/esm/packages/teams-js/dts/public/dialog/update.d.ts +2 -1
  51. package/dist/esm/packages/teams-js/dts/public/dialog/url/bot.d.ts +3 -2
  52. package/dist/esm/packages/teams-js/dts/public/dialog/url/parentCommunication.d.ts +2 -1
  53. package/dist/esm/packages/teams-js/dts/public/geoLocation/geoLocation.d.ts +3 -2
  54. package/dist/esm/packages/teams-js/dts/public/geoLocation/map.d.ts +6 -0
  55. package/dist/esm/packages/teams-js/dts/public/index.d.ts +9 -9
  56. package/dist/esm/packages/teams-js/dts/public/interfaces.d.ts +11 -0
  57. package/dist/esm/packages/teams-js/dts/public/liveShareHost.d.ts +1 -0
  58. package/dist/esm/packages/teams-js/dts/public/location.d.ts +4 -3
  59. package/dist/esm/packages/teams-js/dts/public/mail.d.ts +1 -0
  60. package/dist/esm/packages/teams-js/dts/public/marketplace.d.ts +1 -0
  61. package/dist/esm/packages/teams-js/dts/public/media.d.ts +0 -3
  62. package/dist/esm/packages/teams-js/dts/public/meeting/appShareButton.d.ts +51 -0
  63. package/dist/esm/packages/teams-js/dts/public/meeting/meeting.d.ts +854 -0
  64. package/dist/esm/packages/teams-js/dts/public/menus.d.ts +1 -0
  65. package/dist/esm/packages/teams-js/dts/public/monetization.d.ts +8 -0
  66. package/dist/esm/packages/teams-js/dts/public/navigation.d.ts +2 -1
  67. package/dist/esm/packages/teams-js/dts/public/nestedAppAuth.d.ts +1 -0
  68. package/dist/esm/packages/teams-js/dts/public/pages/appButton.d.ts +30 -0
  69. package/dist/esm/packages/teams-js/dts/public/pages/backStack.d.ts +44 -0
  70. package/dist/esm/packages/teams-js/dts/public/pages/config.d.ts +123 -0
  71. package/dist/esm/packages/teams-js/dts/public/pages/currentApp.d.ts +46 -0
  72. package/dist/esm/packages/teams-js/dts/public/pages/fullTrust.d.ts +33 -0
  73. package/dist/esm/packages/teams-js/dts/public/pages/pages.d.ts +253 -0
  74. package/dist/esm/packages/teams-js/dts/public/pages/tabs.d.ts +32 -0
  75. package/dist/esm/packages/teams-js/dts/public/profile.d.ts +81 -103
  76. package/dist/esm/packages/teams-js/dts/public/runtime.d.ts +3 -0
  77. package/dist/esm/packages/teams-js/dts/public/search.d.ts +9 -0
  78. package/dist/esm/packages/teams-js/dts/public/secondaryBrowser.d.ts +1 -0
  79. package/dist/esm/packages/teams-js/dts/public/settings.d.ts +4 -3
  80. package/dist/esm/packages/teams-js/dts/public/sharing/history.d.ts +47 -0
  81. package/dist/esm/packages/teams-js/dts/public/sharing/sharing.d.ts +76 -0
  82. package/dist/esm/packages/teams-js/dts/public/stageView/self.d.ts +23 -0
  83. package/dist/esm/packages/teams-js/dts/public/stageView/stageView.d.ts +81 -0
  84. package/dist/esm/packages/teams-js/dts/public/tasks.d.ts +0 -8
  85. package/dist/esm/packages/teams-js/dts/public/teamsAPIs.d.ts +4 -0
  86. package/dist/esm/packages/teams-js/dts/public/thirdPartyCloudStorage.d.ts +2 -1
  87. package/dist/esm/packages/teams-js/dts/public/videoEffects.d.ts +209 -210
  88. package/dist/esm/packages/teams-js/dts/public/visualMedia/image.d.ts +64 -0
  89. package/dist/esm/packages/teams-js/dts/public/visualMedia/visualMedia.d.ts +116 -0
  90. package/dist/esm/packages/teams-js/dts/public/webStorage.d.ts +20 -22
  91. package/dist/esm/packages/teams-js/src/index.js +1 -1
  92. package/dist/esm/packages/teams-js/src/internal/appHelpers.js +1 -1
  93. package/dist/esm/packages/teams-js/src/internal/communication.js +1 -1
  94. package/dist/esm/packages/teams-js/src/internal/handlers.js +1 -1
  95. package/dist/esm/packages/teams-js/src/internal/hostToAppTelemetry.js +1 -0
  96. package/dist/esm/packages/teams-js/src/internal/marketplaceUtils.js +1 -1
  97. package/dist/esm/packages/teams-js/src/internal/messageObjects.js +1 -1
  98. package/dist/esm/packages/teams-js/src/internal/pagesHelpers.js +1 -0
  99. package/dist/esm/packages/teams-js/src/internal/uint8array-extras/uint8array-extras.js +1 -0
  100. package/dist/esm/packages/teams-js/src/internal/utils.js +1 -1
  101. package/dist/esm/packages/teams-js/src/internal/validOrigins.js +1 -1
  102. package/dist/esm/packages/teams-js/src/internal/videoEffectsUtils.js +1 -1
  103. package/dist/esm/packages/teams-js/src/internal/visualMediaHelpers.js +1 -0
  104. package/dist/esm/packages/teams-js/src/internal/webStorageHelpers.js +1 -0
  105. package/dist/esm/packages/teams-js/src/private/appEntity.js +1 -1
  106. package/dist/esm/packages/teams-js/src/private/conversations.js +1 -1
  107. package/dist/esm/packages/teams-js/src/private/copilot/copilot.js +1 -0
  108. package/dist/esm/packages/teams-js/src/private/copilot/eligibility.js +1 -0
  109. package/dist/esm/packages/teams-js/src/private/externalAppAuthentication.js +1 -1
  110. package/dist/esm/packages/teams-js/src/private/externalAppAuthenticationForCEA.js +1 -1
  111. package/dist/esm/packages/teams-js/src/private/externalAppCardActions.js +1 -1
  112. package/dist/esm/packages/teams-js/src/private/externalAppCardActionsForCEA.js +1 -1
  113. package/dist/esm/packages/teams-js/src/private/externalAppCommands.js +1 -1
  114. package/dist/esm/packages/teams-js/src/private/files.js +1 -1
  115. package/dist/esm/packages/teams-js/src/private/hostEntity/hostEntity.js +1 -0
  116. package/dist/esm/packages/teams-js/src/private/hostEntity/tab.js +1 -0
  117. package/dist/esm/packages/teams-js/src/private/logs.js +1 -1
  118. package/dist/esm/packages/teams-js/src/private/meetingRoom.js +1 -1
  119. package/dist/esm/packages/teams-js/src/private/messageChannels/dataLayer.js +1 -0
  120. package/dist/esm/packages/teams-js/src/private/messageChannels/messageChannels.js +1 -0
  121. package/dist/esm/packages/teams-js/src/private/messageChannels/telemetry.js +1 -0
  122. package/dist/esm/packages/teams-js/src/private/notifications.js +1 -1
  123. package/dist/esm/packages/teams-js/src/private/otherAppStateChange.js +1 -1
  124. package/dist/esm/packages/teams-js/src/private/remoteCamera.js +1 -1
  125. package/dist/esm/packages/teams-js/src/private/teams/fullTrust/fullTrust.js +1 -0
  126. package/dist/esm/packages/teams-js/src/private/teams/fullTrust/joinedTeams.js +1 -0
  127. package/dist/esm/packages/teams-js/src/private/teams/teams.js +1 -0
  128. package/dist/esm/packages/teams-js/src/private/videoEffectsEx.js +1 -1
  129. package/dist/esm/packages/teams-js/src/public/app/app.js +1 -1
  130. package/dist/esm/packages/teams-js/src/public/appInitialization.js +1 -1
  131. package/dist/esm/packages/teams-js/src/public/clipboard.js +1 -1
  132. package/dist/esm/packages/teams-js/src/public/meeting/appShareButton.js +1 -0
  133. package/dist/esm/packages/teams-js/src/public/meeting/meeting.js +1 -0
  134. package/dist/esm/packages/teams-js/src/public/navigation.js +1 -1
  135. package/dist/esm/packages/teams-js/src/public/pages/appButton.js +1 -0
  136. package/dist/esm/packages/teams-js/src/public/pages/backStack.js +1 -0
  137. package/dist/esm/packages/teams-js/src/public/pages/config.js +1 -0
  138. package/dist/esm/packages/teams-js/src/public/pages/currentApp.js +1 -0
  139. package/dist/esm/packages/teams-js/src/public/pages/fullTrust.js +1 -0
  140. package/dist/esm/packages/teams-js/src/public/pages/pages.js +1 -0
  141. package/dist/esm/packages/teams-js/src/public/pages/tabs.js +1 -0
  142. package/dist/esm/packages/teams-js/src/public/profile.js +1 -1
  143. package/dist/esm/packages/teams-js/src/public/publicAPIs.js +1 -1
  144. package/dist/esm/packages/teams-js/src/public/runtime.js +1 -1
  145. package/dist/esm/packages/teams-js/src/public/settings.js +1 -1
  146. package/dist/esm/packages/teams-js/src/public/sharing/history.js +1 -0
  147. package/dist/esm/packages/teams-js/src/public/sharing/sharing.js +1 -0
  148. package/dist/esm/packages/teams-js/src/public/stageView/self.js +1 -0
  149. package/dist/esm/packages/teams-js/src/public/stageView/stageView.js +1 -0
  150. package/dist/esm/packages/teams-js/src/public/tasks.js +1 -1
  151. package/dist/esm/packages/teams-js/src/public/version.js +1 -1
  152. package/dist/esm/packages/teams-js/src/public/videoEffects.js +1 -1
  153. package/dist/esm/packages/teams-js/src/public/visualMedia/image.js +1 -0
  154. package/dist/esm/packages/teams-js/src/public/visualMedia/visualMedia.js +1 -0
  155. package/dist/esm/packages/teams-js/src/public/webStorage.js +1 -1
  156. package/dist/umd/MicrosoftTeams.d.ts +5751 -5160
  157. package/dist/umd/MicrosoftTeams.js +6231 -6442
  158. package/dist/umd/MicrosoftTeams.js.map +1 -1
  159. package/dist/umd/MicrosoftTeams.min.js +1 -1
  160. package/dist/umd/MicrosoftTeams.min.js.map +1 -1
  161. package/package.json +1 -1
  162. package/dist/esm/packages/teams-js/dts/private/copilot.d.ts +0 -39
  163. package/dist/esm/packages/teams-js/dts/private/hostEntity.d.ts +0 -176
  164. package/dist/esm/packages/teams-js/dts/private/messageChannels.d.ts +0 -107
  165. package/dist/esm/packages/teams-js/dts/private/teams.d.ts +0 -116
  166. package/dist/esm/packages/teams-js/dts/public/meeting.d.ts +0 -906
  167. package/dist/esm/packages/teams-js/dts/public/pages.d.ts +0 -574
  168. package/dist/esm/packages/teams-js/dts/public/sharing.d.ts +0 -124
  169. package/dist/esm/packages/teams-js/dts/public/stageView.d.ts +0 -104
  170. package/dist/esm/packages/teams-js/dts/public/visualMedia.d.ts +0 -192
  171. package/dist/esm/packages/teams-js/src/private/copilot.js +0 -1
  172. package/dist/esm/packages/teams-js/src/private/hostEntity.js +0 -1
  173. package/dist/esm/packages/teams-js/src/private/messageChannels.js +0 -1
  174. package/dist/esm/packages/teams-js/src/private/teams.js +0 -1
  175. package/dist/esm/packages/teams-js/src/public/meeting.js +0 -1
  176. package/dist/esm/packages/teams-js/src/public/pages.js +0 -1
  177. package/dist/esm/packages/teams-js/src/public/sharing.js +0 -1
  178. package/dist/esm/packages/teams-js/src/public/stageView.js +0 -1
  179. package/dist/esm/packages/teams-js/src/public/visualMedia.js +0 -1
  180. /package/dist/esm/node_modules/.pnpm/{@rollup_plugin-typescript@11.1.6_rollup@4.24.0_tslib@2.6.3_typescript@4.9.5 → @rollup_plugin-typescript@11.1.6_rollup@4.24.4_tslib@2.6.3_typescript@4.9.5}/node_modules/tslib/tslib.es6.js +0 -0
@@ -1,9 +1,10 @@
1
- import * as map from './map';
2
1
  /**
3
- * Namespace to interact with the geoLocation module-specific part of the SDK. This is the newer version of location module.
2
+ * Module to interact with the geoLocation module-specific part of the SDK. This is the newer version of location module.
4
3
  *
5
4
  * @beta
5
+ * @module
6
6
  */
7
+ import * as map from './map';
7
8
  /**
8
9
  * Data struture to represent the location information
9
10
  *
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Module to interact with the location on map module-specific part of the SDK.
3
+ *
4
+ * @beta
5
+ * @module
6
+ */
1
7
  import { Location } from './geoLocation';
2
8
  /**
3
9
  * Allows user to choose location on map
@@ -1,6 +1,6 @@
1
1
  export * as authentication from './authentication';
2
2
  export { ChannelType, DialogDimension, FrameContexts, HostClientType, HostName, TaskModuleDimension, TeamType, UserTeamRole, } from './constants';
3
- export { ActionInfo, ActionObjectType, AdaptiveCardVersion, AdaptiveCardDialogInfo, BaseActionObject, BotAdaptiveCardDialogInfo, BotUrlDialogInfo, Context, DeepLinkParameters, DialogInfo, DialogSize, ErrorCode, FileOpenPreference, FrameContext, FrameInfo, LoadContext, LocaleInfo, M365ContentAction, ResumeContext, SdkError, SecondaryId, SecondaryM365ContentIdName, ShareDeepLinkParameters, TabInformation, TabInstance, TabInstanceParameters, TaskInfo, TeamInformation, UrlDialogInfo, } from './interfaces';
3
+ export { ActionInfo, ActionObjectType, AdaptiveCardVersion, AdaptiveCardDialogInfo, BaseActionObject, BotAdaptiveCardDialogInfo, BotUrlDialogInfo, Context, DeepLinkParameters, DialogInfo, DialogSize, ErrorCode, FileOpenPreference, FrameContext, FrameInfo, HostToAppPerformanceMetrics, LoadContext, LocaleInfo, M365ContentAction, ResumeContext, SdkError, SecondaryId, SecondaryM365ContentIdName, ShareDeepLinkParameters, TabInformation, TabInstance, TabInstanceParameters, TaskInfo, TeamInformation, UrlDialogInfo, } from './interfaces';
4
4
  export * as app from './app/app';
5
5
  export { AppId } from './appId';
6
6
  export { EmailAddress } from './emailAddress';
@@ -13,26 +13,26 @@ export * as dialog from './dialog/dialog';
13
13
  export * as nestedAppAuth from './nestedAppAuth';
14
14
  export * as geoLocation from './geoLocation/geoLocation';
15
15
  export { getAdaptiveCardSchemaVersion } from './adaptiveCards';
16
- export { pages } from './pages';
16
+ export * as pages from './pages/pages';
17
17
  export { addEventListnerFunctionType, ChildAppWindow, IAppWindow, onCompleteFunctionType, ParentAppWindow, } from './appWindow';
18
18
  export * as menus from './menus';
19
19
  export * as media from './media';
20
20
  export * as secondaryBrowser from './secondaryBrowser';
21
21
  export * as location from './location';
22
- export { meeting } from './meeting';
22
+ export * as meeting from './meeting/meeting';
23
23
  export * as monetization from './monetization';
24
24
  export * as calendar from './calendar';
25
25
  export * as mail from './mail';
26
26
  export * as teamsCore from './teamsAPIs';
27
27
  export * as people from './people';
28
- export { profile } from './profile';
29
- export { videoEffects } from './videoEffects';
28
+ export * as profile from './profile';
29
+ export * as videoEffects from './videoEffects';
30
30
  export * as search from './search';
31
- export { sharing } from './sharing';
32
- export { stageView } from './stageView';
31
+ export * as sharing from './sharing/sharing';
32
+ export * as stageView from './stageView/stageView';
33
33
  export { version } from './version';
34
- export { visualMedia } from './visualMedia';
35
- export { webStorage } from './webStorage';
34
+ export * as visualMedia from './visualMedia/visualMedia';
35
+ export * as webStorage from './webStorage';
36
36
  export * as call from './call';
37
37
  export * as appInitialization from './appInitialization';
38
38
  export * as thirdPartyCloudStorage from './thirdPartyCloudStorage';
@@ -1142,3 +1142,14 @@ export interface ClipboardParams {
1142
1142
  /** Blob content in Base64 string format */
1143
1143
  content: string;
1144
1144
  }
1145
+ /**
1146
+ * Meant for passing data to the app related to host-to-app message performance metrics.
1147
+ */
1148
+ export interface HostToAppPerformanceMetrics {
1149
+ /** The name of the action the host is responding to. */
1150
+ actionName: string;
1151
+ /** The delay the message took traveling from host to app */
1152
+ messageDelay: number;
1153
+ /** The time when the request was dispatched */
1154
+ requestStartedAt: number;
1155
+ }
@@ -3,6 +3,7 @@
3
3
  * For more information, visit https://aka.ms/teamsliveshare
4
4
  *
5
5
  * @see LiveShareHost
6
+ * @module
6
7
  */
7
8
  /**
8
9
  * @hidden
@@ -1,10 +1,11 @@
1
- import { SdkError } from './interfaces';
2
1
  /**
3
2
  * @deprecated
4
- * As of 2.1.0, please use geoLocation namespace.
3
+ * As of 2.1.0, please use geoLocation module.
5
4
  *
6
5
  * Module to interact with the location module-specific part of the SDK.
6
+ * @module
7
7
  */
8
+ import { SdkError } from './interfaces';
8
9
  /** Get location callback function type */
9
10
  export type getLocationCallbackFunctionType = (error: SdkError, location: Location) => void;
10
11
  /** Show location callback function type */
@@ -73,7 +74,7 @@ export declare function getLocation(props: LocationProps, callback: getLocationC
73
74
  export declare function showLocation(location: Location, callback: showLocationCallbackFunctionType): void;
74
75
  /**
75
76
  * @deprecated
76
- * As of 2.1.0, please use geoLocation namespace, and use {@link geoLocation.isSupported geoLocation.isSupported: boolean} to check if geoLocation is supported.
77
+ * As of 2.1.0, please use geoLocation module, and use {@link geoLocation.isSupported geoLocation.isSupported: boolean} to check if geoLocation is supported.
77
78
  *
78
79
  * Checks if Location capability is supported by the host
79
80
  *
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * Used to interact with mail capability, including opening and composing mail.
3
+ * @module
3
4
  */
4
5
  /**
5
6
  * Opens a mail message in the host.
@@ -2,6 +2,7 @@
2
2
  * @hidden
3
3
  * Module for an app to support a checkout flow by interacting with the marketplace cart in the host.
4
4
  * @beta
5
+ * @module
5
6
  */
6
7
  /**
7
8
  * @hidden
@@ -1,7 +1,4 @@
1
1
  import { SdkError } from './interfaces';
2
- /**
3
- * Interact with media, including capturing and viewing images.
4
- */
5
2
  /**
6
3
  * Function callback type used when calling {@link media.captureImage}.
7
4
  *
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Module for functions to control behavior of the app share button
3
+ *
4
+ * @hidden
5
+ * Hide from docs.
6
+ *
7
+ * @internal
8
+ * Limited to Microsoft-internal use
9
+ *
10
+ * @beta
11
+ * @module
12
+ */
13
+ /**
14
+ * Property bag for the setVisibilityInfo
15
+ *
16
+ * @hidden
17
+ * Hide from docs.
18
+ *
19
+ * @internal
20
+ * Limited to Microsoft-internal use
21
+ *
22
+ * @beta
23
+ */
24
+ export interface ShareInformation {
25
+ /**
26
+ * boolean flag to set show or hide app share button
27
+ */
28
+ isVisible: boolean;
29
+ /**
30
+ * optional string contentUrl, which will override contentUrl coming from Manifest
31
+ */
32
+ contentUrl?: string;
33
+ }
34
+ /**
35
+ * By default app share button will be hidden and this API will govern the visibility of it.
36
+ *
37
+ * This function can be used to hide/show app share button in meeting,
38
+ * along with contentUrl (overrides contentUrl populated in app manifest)
39
+ * @throws standard Invalid Url error
40
+ * @param shareInformation has two elements, one isVisible boolean flag and another
41
+ * optional string contentUrl, which will override contentUrl coming from Manifest
42
+ *
43
+ * @hidden
44
+ * Hide from docs.
45
+ *
46
+ * @internal
47
+ * Limited to Microsoft-internal use
48
+ *
49
+ * @beta
50
+ */
51
+ export declare function setOptions(shareInformation: ShareInformation): void;