このページは現在英語版のみで提供されており、日本語版も近日中に提供される予定です。ご利用いただきありがとうございます。

フローティングウィンドウ

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