uni-app (Anroid&iOS)

This article explains how to use the Floating Window feature.

Expected outcome

Activate floating button
Voice call floating window
Video call floating window










Floating Window feature

Invoke the enableFloatWindow(enable: boolean) API to enable/disable the floating window.
const TUICallKit = uni.requireNativePlugin('TencentCloud-TUICallKit');
const enable = true;
TUICallKit.enableFloatWindow(enable);