tencent cloud

Feedback

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

    7x24 Phone Support