tencent cloud

All product documents
Tencent Real-Time Communication
uni-app(Android & iOS)
Last updated: 2024-04-30 10:43:45
uni-app(Android & iOS)
Last updated: 2024-04-30 10:43:45
This article describes how to use call status callbacks with the TUICallKit component.

Call State Monitoring

If your business requires monitoring call status, such as events that occur during a call like starting and ending (see TUICallEvent for details), please refer to the following code.
const TUICallEngine = uni.requireNativePlugin('TencentCloud-TUICallKit-TUICallEngine');

function handleError(res) {
console.log('onError', JSON.stringify(res);
}
TUICallEngine.addEventListener('onError', handleError);
TUICallEngine.removeEventListener('onError', handleError);

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