tencent cloud

Last updated: 2025-11-28 09:37:20
Android
Last updated: 2025-11-28 09:37:20
AtomicXCore SDK is the next-generation reactive API from TRTC, purpose-built for live streaming, and voice chat rooms. This API suite enables rapid UI development and supports comprehensive features including room management, member management, seat control, basic beauty effects, and more. Built on the TRTC SDK, AtomicXCore delivers ultra-low latency and high-quality audio and video experiences. This page provides a complete reference for all AtomicXCore SDK API interfaces, organized by functional module.

LoginStore

User Authentication and Login Management
Provides user authentication, login state management, user profile maintenance, and essential authentication services.
Reactive Data
Data List
Description
Details of the currently authenticated user.
Current authentication status.
API Functions
Function List
Description
login
Authenticate user and log in.
logout
Log out the current user.
Update user profile information.

LiveListStore

Live Room List Management
Core Features: Manage the lifecycle of live rooms, including creating, joining, leaving, and ending sessions.
Technical Highlights: Support paginated loading, real-time status updates, dynamic room info, and reactive data management (Kotlin Flow) for seamless UI synchronization.
Use Cases: Live room directory, room creation, session status management, live analytics, and core live streaming workflows.
Reactive Data
Data List
Description
liveList
List of available live rooms.
Pagination cursor for live room list.
Details of the currently active live room.
API Functions
Function List
Description
Retrieve the list of live rooms.
Create a new live room.
joinLive
Join an existing live room.
leaveLive
Leave the current live room.
endLive
End the live session.
Update live room details.
Add a live room list event listener.
Remove a live room list event listener.
Query custom room metadata.
Update custom metadata for the live room.

LiveSeatStore

Live Room Mic Slot Management
Core Features: Provide mic slot control for multi-user co-hosting scenarios, including seat state management and audio/video device control.
Technical Highlights: Built on WebRTC, supports multi-stream management, slot locking, device control, permission management, and advanced interaction features.
Use Cases: Multi-user co-hosting, host PK, interactive games, online education, collaborative live streaming, and any scenario requiring multi-user audio/video participation.
Reactive Data
Data List
Description
seatList
Mic slot list.
canvas
Canvas layout information.
List of users currently speaking.
API Functions
Function List
Description
takeSeat
Join a mic slot.
leaveSeat
Leave the mic slot.
Mute the microphone.
Unmute the microphone.
Remove a user from the mic slot.
Move a user to a mic slot.
lockSeat
Lock a mic slot.
Unlock a mic slot.
Enable a remote user's camera.
Disable a remote user's camera.
Enable a remote user's microphone.
Disable a remote user's microphone.
Add a mic slot event listener.
Remove a mic slot event listener.

LiveAudienceStore

Live Audience Management
Core Features: Manage audience lists, controls audience permissions, administrator roles, and maintains order in live rooms.
Technical Highlights: Provide real-time audience updates, hierarchical permissions, batch operations, and advanced moderation controls for optimal user experience.
Use Cases: Audience management, permission control, live room moderation, audience interaction, and core live streaming workflows.
Reactive Data
Data List
Description
List of live room audience members.
Audience member count.
API Functions
Function List
Description
Retrieve the audience list.
Assign administrator role.
Remove administrator role.
Remove a user from the room.
Disable audience member messaging.
Add an audience event listener.
Remove an audience event listener.

DeviceStore

Device State Management
Core Features: Control audio/video devices (camera, microphone), monitors device state, checks permissions, and provides essential device services.
Technical Highlights: Support multi-device management, real-time device monitoring, dynamic permission checks, automatic device recovery, and advanced error handling.
Use Cases: Device management, permission control, audio/video capture, device fault recovery, and foundational technical workflows.
Reactive Data
Data List
Description
Microphone enabled state.
Last microphone error.
Microphone capture volume (0-100).
Current microphone volume (0-100).
Speaker output volume (0-100).
Camera enabled state.
Last camera error.
Indicates if the front camera is active.
Local video mirror mode.
Local video quality settings.
Current audio output route (speaker or earpiece).
Screen sharing state.
Network connection details.
API Functions
Function List
Description
Enable the local microphone.
Disable the local microphone.
Set microphone capture volume.
Set speaker output volume.
Enable the local camera.

CoGuestStore

Guest Co-Hosting Management
Core Features: Manage interactive co-hosting between audience and host, including application, invitation, acceptance, and rejection workflows.
Technical Highlights: Real-time audio/video synchronization, adaptive quality, network monitoring, and advanced mic-link controls.
Use Cases: Audience co-hosting, interactive Q&A, online karaoke, game streaming, and scenarios requiring audience participation.
Reactive Data
Data List
Description
connected
List of connected guest co-hosts.
invitees
Users invited to co-host.
Users applying to co-host.
Eligible candidates for co-host invitation.
API Functions
Function List
Description
Apply to join a mic slot as a guest co-host.
Cancel co-host application.
Approve co-host application.
Reject co-host application.
Invite a user to join as a guest co-host.
Cancel co-host invitation.
Accept co-host invitation.
Decline co-host invitation.
Disconnect from co-host session.
Add guest-side co-host event listener.
Remove guest-side co-host event listener.
Add host-side co-host event listener.
Remove host-side co-host event listener.

CoHostStore

Host-to-Host Connection Management
Core Features: Enable host-to-host co-hosting, including invitations, connection requests, and connection state management.
Technical Highlights: Support multi-host audio/video sync, picture-in-picture, audio/video optimization, and advanced co-hosting features for seamless host interaction.
Use Cases: Host PK (battle), collaborative streaming, cross-platform co-hosting, host interaction, and advanced live streaming scenarios.
Reactive Data
Data List
Description
connected
List of connected hosts.
invitees
Hosts invited to co-host.
applicant
Details of the host requesting connection.
Current host connection status.
API Functions
Function List
Description
Request host-to-host connection.
Cancel host connection request.
Accept host connection request.
Reject host connection request.
Exit host connection.
Add host connection event listener.
Remove host connection event listener.

AudioEffectStore

Audio Effects Processing
Core Features: Deliver advanced audio effects, including voice changer, reverb, and in-ear monitoring, with support for multiple effect types and real-time adjustment.
Technical Highlights: Powered by Tencent Ethereal Audio Lab algorithms, supports real-time audio processing, low-latency transmission, and audio quality optimization.
Use Cases: Voice changer streaming, karaoke, audio entertainment, professional audio effects, and scenarios requiring enhanced audio.
Reactive Data
Data List
Description
In-ear monitoring enabled state.
In-ear monitor volume level.
Voice changer effect type.
Reverb effect type.
API Functions
Function List
Description
Set voice changer effect type.
Set reverb effect type.
Enable or disable in-ear monitoring.
Set in-ear monitor volume.

BarrageStore

Live Room Chat Overlay Management
Core Features: Manage chat overlay (barrage) features, including text and custom messages, with real-time message sync and state management.
Technical Highlights: Support high-concurrency message processing, real-time synchronization, message filtering, emoji support, and advanced chat features.
Use Cases: Interactive chat, message management, emoji, chat rooms, and social engagement scenarios.
Reactive Data
Data List
Description
Chat overlay message list for the current room.
API Functions
Function List
Description
Send a text chat overlay message.
Send a custom chat overlay message.

BaseBeautyStore

Basic Beauty Filter Management
Core Features: Provide real-time adjustment of basic beauty filters, including skin smoothing, whitening, and blush effects.
Technical Highlights: Utilize AI beauty algorithms for real-time processing, smooth parameter adjustment, and optimized performance.
Use Cases: Beauty streaming, appearance enhancement, live room beautification, and scenarios requiring beauty filter features.
Reactive Data
Data List
Description
Skin smoothing level [0–9]: 0 is off, 9 is maximum effect.
Whitening level [0–9]: 0 is off, 9 is maximum effect.
Rosy complexion level [0–9]: 0 is off, 9 is maximum effect.
API Functions
Function List
Description
Set skin smoothing level.
Set whitening level.
Set rosy complexion level.

GiftStore

Gift System Management
Core Features: Manage gift sending, receiving, and gift list operations, including categorization, animations, statistics, and a complete gift economy.
Technical Highlights: Support animated gift rendering, effects processing, gift statistics, rankings, and advanced monetization features.
Use Cases: Gift rewards, virtual currency, animated gift effects, gift statistics, and monetization workflows.

Reactive Data
Data List
Description
List of available gifts.
API Functions
Function List
Description
Refresh the available gift list.
sendGift
Send a gift.
Add a gift event listener.
Remove a gift event listener.

LikeStore

Like Interaction Management
Core Features: Manage live room like interactions, including sending likes, like statistics, and event listening.
Technical Highlights: Support high-concurrency like processing, real-time statistics, like animations, rankings, and advanced engagement features.
Use Cases: Like interaction, popularity analytics, interactive effects, user engagement, and core live streaming workflows.
Reactive Data
Data List
Description
Total number of likes.
API Functions
Function List
Description
sendLike
Send a like.
Add a like event listener.
Remove a like event listener.

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

Feedback