Floating Window
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
TUICallKit allows users to minimize the call interface into a floating window using the floating window button at the top left corner of the call interface during a call.
If your business needs to enable this feature, you can use the enableFloatWindow method to activate this feature during the initialization of the TUICallKit component:
TUICallKit.createInstance(context).enableFloatWindow(true)
TUICallKit.createInstance(context).enableFloatWindow(true);
import TUICallKit_SwiftTUICallKit.createInstance().enableFloatWindow(enable: true)
#import <TUICallKit_Swift/TUICallKit_Swift-Swift.h>[[TUICallKit createInstance] enableFloatWindowWithEnable:YES];
import 'package:tencent_calls_uikit/tencent_calls_uikit.dart';void enableFloatWindow() {TUICallKit.instance.enableFloatWindow(true);}