一键重装系统工具 | U盘启动盘制作工具 | 误删文件恢复软件 | 硬盘数据抢救专家 | 电脑蓝屏修复助手 | C盘空间清理神器 | 电脑驱动离线安装工具 | 微信聊天记录恢复工具 | 照片误格式化恢复 | 电脑密码破解清除工具 | 系统崩溃紧急救援盘 | 电脑加速优化大师 | 电脑开不了机怎么重装系统 | 回收站清空了怎么恢复 | 硬盘分区丢失数据恢复 | 电脑卡顿重装系统有用吗 | U盘插入提示格式化数据恢复 | 电脑中毒文件被隐藏恢复 | 忘记电脑开机密码怎么办 | 新硬盘分区对齐工具 | 旧电脑装Win10流畅工具 | SD卡照片删除恢复免费版 | 移动硬盘打不开提示损坏修复 | 电脑无故重启系统修复工具 | 电脑小白一键重装神器 | 程序员电脑环境配置助手 | 设计师电脑字体/素材恢复工具 | 网吧网管系统维护工具箱 | 财务人员电脑发票备份恢复 | 学生党免费电脑系统安装包 | 电脑维修师傅必备工具盘 | 游戏玩家电脑性能优化助手 | 办公白领误删文档恢复软件 | 自媒体视频素材恢复工具 | 网课录制视频损坏修复工具 | 最好的U盘PE系统排名 | 数据恢复软件哪个最强 | 免费电脑助手与收费版区别 | 国产装机工具哪款无广告 | 离线版驱动助手推荐 | 轻量级电脑优化工具对比 | 支持NVMe驱动的PE工具 | 带网络功能的应急启动盘 | 2026最新版万能装机工具 | 支持Win11 24H2的PE工具 | 最新免激活系统重装工具 | 2026数据恢复软件破解版合集 | 纯净无捆绑装机助手V3.0 | 支持苹果M芯片的电脑助手 | 秋季更新版系统维护工具箱 | 电脑系统崩了怎么用U盘把重要资料拷贝出来 | 重装系统前哪些文件夹必须备份 | 固态硬盘误格式化还能恢复数据吗 | 如何制作一个既带PE又能存数据的双分区U盘 | 电脑总是弹窗广告用什么助手彻底拦截 后台管理
📢 欢迎访问系统之家!所有资源均经过安全检测。

app module

发布时间:2026-09-21 | 浏览:2
📥 下载地址(文章开头)
电脑助手解决一切电脑问题。
Access to this page requires authorization. You can try signing in or changing directories . Access to this page requires authorization. You can try changing directories . Module to interact with app initialization and lifecycle. Represents information about the application's host. Represents application information. Represents Channel information. Represents Chat information. Represents structure of the received context message. Represents the failure request sent during an erroneous app initialization. Represents the failed request sent during a failed app initialization. Represents Meeting information. The response of the notify success callback. Represents Page information. Represents information about a SharePoint site Represents Team information. Represents Tenant information. Represents User information. Features supported by the host that the app can query for via getContext. This function is passed to registerHostToAppPerformanceMetricsHandler. It is called every time a response is received from the host with metrics for analyzing message delay. See HostToAppPerformanceMetrics to see which metrics are passed to the handler. This function is passed to registerOnThemeHandler. It is called every time the user changes their theme. Describes expected errors that occurred during an otherwise successful app initialization Describes errors that caused app initialization to fail Retrieves the current context the frame is running in. Gets the Frame Context that the App is running in. See FrameContexts for the list of possible values. Returns the immediate parent origin when this app is running inside an iframe. Initializes the library. Checks whether the Teams client SDK has been initialized. Notifies the frame that app has loaded and to hide the loading indicator if one is shown. Notifies the frame that app initialized with some expected errors. Notifies the frame that app initialization has failed and to show an error page in its place. Notifies the frame that app initialization is successful and is ready for user interaction. This function opens deep links to other modules in the host such as chats or channels or general-purpose links (to external websites). It should not be used for navigating to your own or other apps. Registers a function for handling data of host to app message delay. Registers a handler for theme changes. App Initialization Messages Function Details Retrieves the current context the frame is running in. Promise< Context > Promise that will resolve with the Context object. get Frame Context() Gets the Frame Context that the App is running in. See FrameContexts for the list of possible values. FrameContexts | undefined the Frame Context. get Immediate Parent Origin() Returns the immediate parent origin when this app is running inside an iframe. The immediate parent origin, or null when unavailable. This helper is useful for scenarios where the app must explicitly trust the hosting parent origin during initialize by passing [origin] as validMessageOrigins . If no parent origin can be determined, this function returns null . initialize(string[])
📥 下载地址(文章中间)
电脑助手解决一切电脑问题。
Initializes the library. Optionally specify a list of cross-frame message origins. This parameter is used if you know that your app will be hosted on a custom domain (i.e., not a standard Microsoft 365 host like Teams, Outlook, etc.) Most apps will never need to pass a value for this parameter. Any domains passed in the array must define a scheme to be able to be processed. Examples: https://www.example.com , chrome:// Promise that will be fulfilled when initialization has completed, or rejected if the initialization fails or times out Initialize must have completed successfully (as determined by the resolved Promise) before any other library calls are made is Initialized() Checks whether the Teams client SDK has been initialized. whether the Teams client SDK has been initialized. notify App Loaded() Notifies the frame that app has loaded and to hide the loading indicator if one is shown. notify Expected Failure(IExpected Failure Request) Notifies the frame that app initialized with some expected errors. The expected failure request containing the reason and an optional message notify Failure(IFailed Request) Notifies the frame that app initialization has failed and to show an error page in its place. The failure request containing the reason for why the app failed during initialization as well as an optional message. notify Success() Notifies the frame that app initialization is successful and is ready for user interaction. Promise< NotifySuccessResponse > open Link(string) This function opens deep links to other modules in the host such as chats or channels or general-purpose links (to external websites). It should not be used for navigating to your own or other apps. The host deep link or external web URL to which to navigate Promise that will be fulfilled when the navigation has initiated. A successful Promise resolution does not necessarily indicate whether the target loaded successfully. If you need to navigate to your own or other apps, use: navigateToDefaultPage for navigating to the default page of your own app navigateTo for navigating to a section of your own app navigateToApp for navigating to other apps besides your own Many areas of functionality previously provided by deep links are now handled by strongly-typed functions in capabilities. If your app is using a deep link to trigger these specific components, use the strongly-typed alternatives. For example (this list is not exhaustive): To open an app installation dialog, use the appInstallDialog capability To start a call, use the call capability To open a chat, use the chat capability To open a dialog, use the dialog capability To create a new meeting, use the composeMeeting function To open a Stage View, use the stageView capability In each of these capabilities, you can use the isSupported() function to determine if the host supports that capability. When using a deep link to trigger these components, there's no way to determine whether the host supports it. For more information on crafting deep links to the host, see Configure deep links register Host ToApp Performance Metrics Handler(Host ToApp Performance Metrics Handler) Registers a function for handling data of host to app message delay. The handler to invoke when the metrics are available on each function response. Only one handler can be registered at a time. A subsequent registration replaces an existing registration. register OnTheme Change Handler(theme Handler) Registers a handler for theme changes. The handler to invoke when the user changes their theme. Only one handler can be registered at a time. A subsequent registration replaces an existing registration. Variable Details App Initialization Messages { AppLoaded: string, ExpectedFailure: string, Failure: string, Success: string } Was this page helpful? Need help with this topic? Want to try using Ask Learn to clarify or guide you through this topic?
📥 下载地址(文章结尾)
电脑助手解决一切电脑问题。