LiveShareHost class
Live Share host implementation for connecting to real-time collaborative sessions.
Designed for use with the LiveShareClient
class in the @microsoft/live-share
package.
Learn more at https://aka.ms/teamsliveshare
Remarks
The LiveShareClient
class from Live Share uses the hidden API's to join/manage the session.
To create a new LiveShareHost
instance use the static LiveShareHost.create()
function.
Methods
create() | Factories a new |
Method Details
create()
Factories a new LiveShareHost
instance for use with the LiveShareClient
class
in the @microsoft/live-share
package.
static function create(): LiveShareHost
Returns
Remarks
app.initialize()
must first be called before using this API.
This API can only be called from meetingStage
or sidePanel
contexts.
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈