Set a direct join session
Introduction
In ZEGOCLOUD UIKits, a prejoin view is used for detecting the device's usability and setting page interactions to bypass the limitations of the autoplay policy.
While you can set a direct join session by hiding the prejoin view (the view below) if you've checked the device usability and made page interactions before initializing the UIKit.
![](https://storage.zego.im/sdk-doc/Pics/Prebuilt_Web/preview.png)
How do I set a direct join session?
To skip the prejoin view to join a session directly, set the showPreJoinView
to false
.
Untitled
// ....
zp.joinRoom({
// ...,
showPreJoinView: false;
// ...
});
1