tencent cloud

All product documents
Tencent Real-Time Communication
Android&iOS&Flutter
Last updated: 2024-05-24 18:35:12
Android&iOS&Flutter
Last updated: 2024-05-24 18:35:12
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:
Android(Kotlin)
Android(Java)
iOS(Swift)
iOS(Objective-C)
Flutter(Dart)
TUICallKit.createInstance(context).enableFloatWindow(true)
TUICallKit.createInstance(context).enableFloatWindow(true);
import TUICallKit_Swift

TUICallKit.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);
}

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon