FuncList | DESC |
Create a TUIRoomEngine instance (singleton pattern). | |
Destroy the TUIRoomEngine instance (singleton pattern). | |
After creating a TUIRoomEngine instance, you should login with sdkAppId, userId and userSig then you can call TUIRoomEngine instance and other function. | |
Log out of your account. If you are in the room, there will be active leaving room and destroying resource operations. | |
Update user name and avatar for logged-in user. | |
Return the basic information of the logged-in user, including nickname and avatar. | |
Update user basic information for logged-in user. | |
Set event observer. | |
Remove event observer. | |
Create a room. | |
Dismiss the room. | |
Enter a room. | |
Enter a room. | |
Enter a room. | |
Exit the room. | |
Fetch room information. | |
Fetch Specified Room Information. | |
Update room name (only support for administrators or room owner). | |
Update room seat mode (only support for administrators or room owner). | |
Update room password (only support for administrators or room owner). | |
Get room metadata. | |
Set room metadata, if the key already exists, update its value, if not, add the key. | |
Set the local camera to preview the render view. | |
Open the local camera. | |
Close the local camera. | |
Start publishing local video stream, default enabled. | |
Stop publishing local video stream. | |
Update video encoding quality. | |
Set the video encoding parameters. | |
Set the video resolution mode (horizontal resolution or vertical resolution). | |
Set the substitute image for local video during pause. | |
Turn on gravity sensing mode. (only availble on mobile OS and the camera capture scene inside the SDK). | |
Start screen sharing (only available on mobile OS). | |
Stop screen sharing. | |
Open local microphone. | |
Close the local microphone. | |
Update audio encoding quality. | |
Pause publishing the local audio stream. | |
Resume publishing the local audio stream. | |
Enable system audio sharing | |
Set the render view for remote user. | |
Start playing the remote user's video stream. | |
Stop playing the remote user's video stream. | |
Mute the remote user's audio stream. | |
Get the list of user in the room. | |
Get user information. | |
Change user role (only support for administrators or room owner). | |
Change user nickname in the room (only support to change all user for administrators or room owner, user can only change by self). | |
Kick the remote user out of the room (only support for administrators or room owner). | |
Add a tag for the user (only support for administrators or room owner). | |
Remove tag for user (only support for room owner). | |
Get user information in the room based on the tag. | |
Set custom information for room users. | |
The owner or administrator control that all users whether can open device. For example: all users are prohibited from opening the microphone(only available in the conference scenario). | |
Request the remote user to open the media device (only support for administrators or room owner). | |
Close remote user media devices (only support for administrators or room owner). | |
Apply to open the local media device (available to general users). | |
Get seat list. | |
Lock the seat (only support for administrators or room owner). | |
Take the seat. | |
Leave the seat. | |
Move to seat. | |
Invite user to take the seat (only support for administrators or room owner). | |
Kick off the user from seat (only support for administrators or room owner). | |
Get the request list of users who want to take the seat in the room (only support for administrators or room owner). | |
Disable the ability of remote users to send messages (only support for administrators or room owner). | |
Disable the ability of all users to send messages (only support for administrators or room owner). | |
Send text message | |
Send custom message | |
Cancel request. | |
Response request. | |
Get the TRTC instance object. | |
Set the beauty level. | |
Set whitening level. | |
Get the extension. | |
Get device management class. | |
Get live-connection management class. | |
Get live-battle management class. | |
Call experimental APIs. |
// Java Usage example:TUIRoomEngine engine = TUIRoomEngine.sharedInstance();
// Java Usage example:TUIRoomEngine.destroySharedInstance();
void login | (Context context |
| int sdkAppId |
| String userId |
| String userSig |
| TUIRoomDefine.ActionCallback callback) |
// Java Usage example:TUIRoomEngine.login(context, 1400000001, "user123", "xxxxxx",new TUIRoomDefine.ActionCallback() {@Overridepublic void onSuccess() {// Login success handling}@Overridepublic void onError(int errorCode, String errorMessage) {// Login failure handling}});
Param | DESC |
sdkAppId | |
userId | User ID, it is the unique identifier used by Tencent Cloud to distinguish users. |
userSig | The user signature designed by Tencent Cloud based on the UserId, which is used to access Tencent Cloud services. More details, see UserSig. |
void logout | (TUIRoomDefine.ActionCallback callback) |
// Java Usage example:TUIRoomEngine.logout(new TUIRoomDefine.ActionCallback() {@Overridepublic void onSuccess() {// Handle logout success}@Overridepublic void onError(int errorCode, String errorMessage) {// Handle logout failure}});
Param | DESC |
onError | Callback for failed logout, including error code and message. |
onSuccess | Callback for successful logout. |
void setSelfInfo | (String userName |
| String avatarURL |
| TUIRoomDefine.ActionCallback callback) |
// Java Usage example:TUIRoomEngine.setSelfInfo("John", "https://avatar.url",new TUIRoomDefine.ActionCallback() {@Overridepublic void onSuccess() {// Handle success}@Overridepublic void onError(int errorCode, String errorMessage) {// Handle failure}});
Param | DESC |
avatarURL | User avatar URL address. |
onError | Callback for failed operation, including error code and message. |
onSuccess | Callback for successful operation. |
userName | User nickname. |
// Java Usage example:TUIRoomDefine.LoginUserInfo userInfo = TUIRoomEngine.getSelfInfo();
void setSelfInfo | |
| TUIRoomDefine.ActionCallback callback) |
// Java Usage example:TUIRoomDefine.LoginUserInfo userInfo = new TUIRoomDefine.LoginUserInfo();userInfo.userId = "user123";userInfo.userName = "John";userInfo.avatarUrl = "https://avatar.url";TUIRoomEngine.setSelfInfo(userInfo, new TUIRoomDefine.ActionCallback() {@Overridepublic void onSuccess() {// Handle success}@Overridepublic void onError(int errorCode, String errorMessage) {// Handle logout failure}});
Param | DESC |
callback | Interface callback to notify success or failure of the operation. |
userInfo |
void addObserver |
// Java Usage example:TUIRoomEngine engine = TUIRoomEngine.sharedInstance();engine.addObserver(new TUIRoomObserver() {@Overridepublic void onRemoteUserEnterRoom(String userId) {// Handle user enter room events}@Overridepublic void onRemoteUserLeaveRoom(String userId) {// Handle user exit room events}// Implement other callback methods...});
Param | DESC |
observer | Object instance conforming to TUIRoomObserver protocol. |
void removeObserver |
// Java Usage example:class MyRoomObserver implements TUIRoomObserver {@Overridepublic void onRemoteUserEnterRoom(String userId) {// Handle user enter room events}@Overridepublic void onRemoteUserLeaveRoom(String userId) {// Handle user exit room events}// Implement other callback methods...}MyRoomObserver observer = new MyRoomObserver();TUIRoomEngine engine = TUIRoomEngine.sharedInstance();engine.addObserver(observer);// When observation is no longer neededengine.removeObserver(observer);
Param | DESC |
observer | The observer callback instance to be removed. |
void createRoom | |
| TUIRoomDefine.ActionCallback callback) |
// Java Usage example:TUIRoomDefine.RoomInfo roomInfo = new TUIRoomDefine.RoomInfo();roomInfo.roomId = "room123";roomInfo.roomType = TUIRoomDefine.RoomType.CONFERENCE;roomInfo.name = "Conference Room";TUIRoomEngine.sharedInstance().createRoom(roomInfo, new TUIRoomDefine.ActionCallback() {@Overridepublic void onSuccess() {Log.d("TAG", "Room created");}@Overridepublic void onError(TUICommonDefine.Error error, String message) {Log.e("TAG", "Create failed: " + message);}});
Param | DESC |
callback | (Android/Win) Interface callback to notify success or failure of the call, failure callback contains error code and message. |
onError | (iOS) Failure callback (contains error code and message). |
onSuccess | (iOS) Success callback. |
roomInfo | Room information object used to initialize room settings. |
void destroyRoom | (TUIRoomDefine.ActionCallback callback) |
// Java Usage example:TUIRoomEngine.sharedInstance().destroyRoom(new TUIRoomDefine.ActionCallback() {@Overridepublic void onSuccess() {Log.d("TAG", "Room dismissed successfully");}@Overridepublic void onError(TUICommonDefine.Error error, String message) {Log.e("TAG", "Failed to dismiss room: " + message);}});
Param | DESC |
callback | (Android/Win) Interface callback to notify success or failure of the call, failure callback contains error code and message. |
onError | (iOS) Failure callback (contains error code and message). |
onSuccess | (iOS) Success callback. |
void enterRoom | (String roomId |
| TUIRoomDefine.GetRoomInfoCallback callback) |
2.4 enterRoom(String roomId, TUIRoomDefine.RoomType roomType or 2.5 enterRoom(String roomId, TUIRoomDefine.RoomType roomType, TUIRoomDefine.EnterRoomOptions interface.// Java Usage example:TUIRoomEngine.sharedInstance().enterRoom("room123", new TUIRoomDefine.GetRoomInfoCallback() {@Overridepublic void onSuccess(TUIRoomDefine.RoomInfo roomInfo) {Log.d("TAG", "Enter room successfully");}@Overridepublic void onError(TUICommonDefine.Error error, String message) {Log.e("TAG", "Failed to enter room: " + message);}});
Param | DESC |
callback | (Android/Win) Interface callback to notify success or failure of the call, failure callback contains error code and message. |
onError | (iOS) Failure callback (contains error code and message). |
onSuccess | (iOS) Success callback. |
roomId | Room ID. |
void enterRoom | (String roomId |
| |
| TUIRoomDefine.GetRoomInfoCallback callback) |
TUIRoomEngine.sharedInstance().enterRoom("room123",TUIRoomDefine.RoomType.CONFERENCE,new TUIRoomDefine.GetRoomInfoCallback() {@Overridepublic void onSuccess(TUIRoomDefine.RoomInfo roomInfo) {Log.d("TAG", "Enter room successfully");}@Overridepublic void onError(TUICommonDefine.Error error, String message) {Log.e("TAG", "Failed to enter room: " + message);}});
Param | DESC |
callback | (Android/Win) Interface callback to notify success or failure of the call, failure callback contains error code and message. |
onError | (iOS) Failure callback (contains error code and message). |
onSuccess | (iOS) Success callback. |
roomId | Room ID, must be unique. |
roomType | Room type (conference/live). |
void enterRoom | (String roomId |
| |
| |
| TUIRoomDefine.GetRoomInfoCallback callback) |
// Java Usage example:TUIRoomDefine.EnterRoomOptions options = new TUIRoomDefine.EnterRoomOptions();options.password = "***";TUIRoomEngine.sharedInstance().enterRoom("room123",TUIRoomDefine.RoomType.CONFERENCE,options,new TUIRoomDefine.GetRoomInfoCallback() {@Overridepublic void onSuccess(TUIRoomDefine.RoomInfo roomInfo) {Log.d("TAG", "Enter room successfully");}@Overridepublic void onError(TUICommonDefine.Error error, String message) {Log.e("TAG", "Failed to enter room: " + message);}});
Param | DESC |
callback | (Android/Win) Interface callback to notify success or failure of the call, failure callback contains error code and message. |
onError | (iOS) Failure callback (contains error code and message). |
onSuccess | (iOS) Success callback. |
options | |
roomId | Room ID. |
roomType | Room type. |
void exitRoom | (boolean syncWaiting |
| TUIRoomDefine.ActionCallback callback) |
// Java Usage example:TUIRoomEngine.sharedInstance().exitRoom(true, new TUIRoomDefine.ActionCallback() {@Overridepublic void onSuccess() {Log.d("TAG", "Exit room successfully");}@Overridepublic void onError(TUICommonDefine.Error error, String message) {Log.e("TAG", "Failed to exit room: " + message);}});
Param | DESC |
callback | (Android/Win) Interface callback to notify success or failure of the call, failure callback contains error code and message. |
onError | (iOS) Failure callback (contains error code and message). |
onSuccess | (iOS) Success callback. |
syncWaiting | Whether to wait synchronously for the interface to return. |
void fetchRoomInfo | (TUIRoomDefine.GetRoomInfoCallback callback) |
// Java Usage example:TUIRoomEngine.sharedInstance().fetchRoomInfo(new TUIRoomDefine.GetRoomInfoCallback() {@Overridepublic void onSuccess(TUIRoomDefine.RoomInfo roomInfo) {Log.d("TAG", "Get room info successfully");}@Overridepublic void onError(TUICommonDefine.Error error, String message) {Log.e("TAG", "Failed to get room info: " + message);}});
void fetchRoomInfo | (String roomId |
| |
| TUIRoomDefine.GetRoomInfoCallback callback) |
// Java Usage example:TUIRoomEngine.sharedInstance().fetchRoomInfo("room123", TUIRoomDefine.RoomType.CONFERENCE, new TUIRoomDefine.GetRoomInfoCallback() {@Overridepublic void onSuccess(TUIRoomDefine.RoomInfo roomInfo) {Log.d("TAG", "Room info fetched successfully");}@Overridepublic void onError(TUICommonDefine.Error error, String message) {Log.e("TAG", "Failed to fetch room info: " + message);}});
Param | DESC |
callback | (Android) Interface callback to notify success or failure of the call, success returns $TUIRoomInfo room info, failure returns error code and message. |
onError | (iOS) Failure callback, includes error code and message. |
onSuccess | (iOS) Success callback, returns room information object. |
roomId | Room ID to query. |
roomType | Room type (conference/live). |
void updateRoomNameByAdmin | (String roomName |
| TUIRoomDefine.ActionCallback callback) |
// Java Usage example:TUIRoomEngine.sharedInstance().updateRoomNameByAdmin("New Room", new TUIRoomDefine.ActionCallback() {@Overridepublic void onSuccess() {Log.d("TAG", "Room name updated successfully");}@Overridepublic void onError(TUICommonDefine.Error error, String message) {Log.e("TAG", "Failed to update room name: " + message);}});
Param | DESC |
callback | (Android/Win) Interface callback to notify success or failure of the call, failure returns error code and message. |
onError | (iOS) Failure callback (contains error code and message). |
onSuccess | (iOS) Success callback. |
roomName | New room name. |
void updateRoomSeatModeByAdmin | |
| TUIRoomDefine.ActionCallback callback) |
// Java Usage example:TUIRoomEngine.sharedInstance().updateRoomSeatModeByAdmin(TUIRoomDefine.SeatMode.APPLY_TO_TAKE, new TUIRoomDefine.ActionCallback() {@Overridepublic void onSuccess() {Log.d("TAG", "Room seat mode updated successfully");}@Overridepublic void onError(TUICommonDefine.Error error, String message) {Log.e("TAG", "Failed to update room seat mode: " + error + ", " + message);}});
Param | DESC |
callback | (Android/Win) Interface callback to notify success or failure of the call, failure returns error code and message. |
onError | (iOS) Failure callback (contains error code and message). |
onSuccess | (iOS) Success callback. |
seatMode |
void updateRoomPasswordByAdmin | (String password |
| TUIRoomDefine.ActionCallback callback) |
// Java Usage example:TUIRoomEngine.sharedInstance().updateRoomPasswordByAdmin("NewPassword", new TUIRoomDefine.ActionCallback() {@Overridepublic void onSuccess() {Log.d("TAG", "Room password updated successfully");}@Overridepublic void onError(TUICommonDefine.Error error, String message) {Log.e("TAG", "Failed to update room password: " + message);}});
Param | DESC |
callback | (Android) Interface callback to notify success or failure of the call, failure returns error code and message. |
onError | (iOS) Failure callback (contains error code and message). |
onSuccess | (iOS) Success callback. |
password | New room password, recommended length 8-16 characters, can include letters, numbers and special characters. |
void getRoomMetadata | (List<String> keys |
| TUIRoomDefine.GetRoomMetadataCallback callback) |
// Java Usage example:List<String> keys = Arrays.asList("key1", "key2");TUIRoomEngine.sharedInstance().getRoomMetadata(keys, new TUIRoomDefine.GetRoomMetadataCallback() {@Overridepublic void onSuccess(HashMap<String, String> metadata) {Log.d("TAG", "Room metadata fetched successfully");}@Overridepublic void onError(TUICommonDefine.Error error, String message) {Log.e("TAG", "Failed to fetch room metadata: " + message);}});
Param | DESC |
callback | (Android) Interface callback to notify success or failure of the call, failure returns error code and message. Interface callback to notify success or failure of the call, failure callback contains error code and message. |
keys | List of metadata keys to query. Pass empty list to retrieve all metadata. |
onError | (iOS) Failure callback, includes error code and message. |
onSuccess | (iOS) Success callback, returns metadata dictionary. |
void setRoomMetadataByAdmin | (HashMap<String, String> metadata |
| TUIRoomDefine.ActionCallback callback) |
// Java Usage example:HashMap<String, String> metadata = new HashMap<>();metadata.put("key1", "value1");metadata.put("key2", "value2");TUIRoomEngine.sharedInstance().setRoomMetadataByAdmin(metadata, new TUIRoomDefine.ActionCallback() {@Overridepublic void onSuccess() {Log.d("TAG", "Room metadata updated successfully");}@Overridepublic void onError(TUICommonDefine.Error error, String message) {Log.e("TAG", "Failed to update room metadata: " + message);}});
Param | DESC |
callback | (Android) Interface callback to notify success or failure of the call, failure callback contains error code and message. |
metadata | Custom metadata key-value pairs to set, both keys and values must be strings |
onError | (iOS) Failure callback (contains error code and message) |
onSuccess | (iOS) Success callback |
void setLocalVideoView | (TUIVideoView view) |
Param | DESC |
view | Render view. |
void openLocalCamera | (boolean isFront |
| |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
isFront | true: front false: rear (only available on mobile OS). |
void updateVideoQuality |
void updateVideoQualityEx | |
|
Param | DESC |
params | |
streamType |
void setVideoResolutionMode | |
|
Param | DESC |
resolutionMode | |
streamType |
void setLocalVideoMuteImage | (Bitmap image) |
void enableGravitySensor | (boolean enable) |
Param | DESC |
enable | true: Open false: Close. |
void openLocalMicrophone | |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
quality | Audio quality. |
void updateAudioQuality |
void unmuteLocalAudio | (TUIRoomDefine.ActionCallback callback) |
void enableSystemAudioSharing | (boolean enable) |
void setRemoteVideoView | (String userId |
| |
| TUIVideoView view) |
Param | DESC |
streamType | |
userId | Remote user ID. |
view | Render view. |
void startPlayRemoteVideo | (String userId |
| |
| TUIRoomDefine.PlayCallback callback) |
Param | DESC |
streamType | |
userId | User ID. |
void stopPlayRemoteVideo | (String userId |
|
Param | DESC |
streamType | |
userId | User ID. |
void muteRemoteAudioStream | (String userId |
| boolean isMute) |
Param | DESC |
isMute | true: pause pulling remote user's audio stream, false: resume pulling remote user's audio stream. |
userId | User ID. |
void getUserList | (long nextSequence |
| TUIRoomDefine.GetUserListCallback callback) |
Param | DESC |
nextSequence | Filling in 0 for the first request, if the returned data of the callback is not zero, paging is required, continue the operation until it is 0. |
void getUserInfo | (String userId |
| TUIRoomDefine.GetUserInfoCallback callback) |
Param | DESC |
userId | User ID. |
void changeUserRole | (String userId |
| |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
role | |
userId | User ID. |
void changeUserNameCard | (String userId |
| String nameCard |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
nameCard | User nickname to set, maximum support is 32 bytes |
userId | User ID to change. |
void kickRemoteUserOutOfRoom | (String userId |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
userId | User ID. |
void addCategoryTagForUsers | (int tag |
| List<String> userList |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
tag | Integer type, it is recommended that this value must be greater than or equal to 1000, you can customize it. |
userList | User list. |
void removeCategoryTagForUsers | (int tag |
| List<String> userList |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
tag | Integer type, it is recommended that this value must be greater than or equal to 1000, you can customize it. |
userList | User list. |
void getUserListByTag | (int tag |
| long nextSequence |
| TUIRoomDefine.GetUserListCallback callback) |
Param | DESC |
nextSequence | Filling in 0 for the first request, if the returned data of the callback is not zero, paging is required, continue the operation until it is 0. |
tag | Integer type, it is recommended that this value must be greater than or equal to 1000, you can customize it. |
void setCustomInfoForUser | (String userId |
| HashMap<String |
| byte[]> customInfo |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
customInfo | Custom information. |
userId | User userId. |
void disableDeviceForAllUserByAdmin | |
| boolean isDisable |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
device | |
isDisable | true: disable user to open device, false: enable user to open device. |
Request openRemoteDeviceByAdmin | (String userId |
| |
| int timeout |
| TUIRoomDefine.RequestCallback callback) |
Param | DESC |
device | |
timeout | Timeout time, in seconds. If it is set to 0, the SDK will not execute timeout detection and will not trigger a timeout callback. |
userId | User ID. |
void closeRemoteDeviceByAdmin | (String userId |
| |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
device | |
userId | User ID. |
Request applyToAdminToOpenLocalDevice | |
| int timeout |
| TUIRoomDefine.RequestCallback callback) |
Param | DESC |
device | |
timeout | Timeout time, in seconds. If it is set to 0, the SDK will not execute timeout detection and will not trigger a timeout callback. |
void getSeatList | (TUIRoomDefine.GetSeatListCallback callback) |
void lockSeatByAdmin | (int seatIndex |
| |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
lockParams | Seat lock parameter. More details, see: $TUISeatLockParam$. |
seatIndex | Seat index. |
Request takeSeat | (int seatIndex |
| int timeout |
| TUIRoomDefine.RequestCallback callback) |
Param | DESC |
seatIndex | Seat index. If the seat is not enabled or the sequence of seats is not concerned, just fill in -1. |
timeout | Timeout time, in seconds. If it is set to 0, the SDK will not execute timeout detection and will not trigger a timeout callback. |
void leaveSeat | (TUIRoomDefine.ActionCallback callback) |
void moveToSeat | (int targetSeatIndex |
| TUIRoomDefine.ActionCallback callback) |
Request takeUserOnSeatByAdmin | (int seatIndex |
| String userId |
| int timeout |
| TUIRoomDefine.RequestCallback callback) |
Param | DESC |
seatIndex | Seat index. |
timeout | Timeout time, in seconds. If it is set to 0, the SDK will not execute timeout detection and will not trigger a timeout callback. |
userId | User ID. |
void kickUserOffSeatByAdmin | (int seatIndex |
| String userId |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
seatIndex | Seat index. If the seat is not enabled and the sequence of seats is not concerned, just fill in -1. |
userId | User ID. |
void getSeatApplicationList | (TUIRoomDefine.RequestListCallback callback) |
void disableSendingMessageByAdmin | (String userId |
| boolean isDisable |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
isDisable | true: disable user to send message, false: enable user to send message. |
userId | User ID. |
void disableSendingMessageForAllUser | (boolean isDisable |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
isDisable | true: disable all users to send message, false: enable all users to send message. |
void sendTextMessage | |
| TUIRoomDefine.SendTextMessageCallback callback) |
Param | DESC |
callback | Callback. |
textMessage | Message object. |
void sendCustomMessage | |
| TUIRoomDefine.SendCustomMessageCallback callback) |
Param | DESC |
callback | Callback. |
customMessage | Message object. |
void cancelRequest | (String requestId |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
requestId | Request ID (get from the sent request). |
void responseRemoteRequest | (String requestId |
| boolean agree |
| TUIRoomDefine.ActionCallback callback) |
Param | DESC |
agree | YES: Agree the request, NO: Reject the request. |
requestId | Request ID (get from the sent request or notification of the OnRequestReceived event). |
void setBeautyLevel | (int beautyStyle |
| float beautyLevel) |
Param | DESC |
beautyLevel | Beauty level, the value range is 0 - 9; 0 indicates to disable the filter, and 9 indicates the most obvious effect. |
beautyStyle | Beauty style, the values are as follows: 0: Smooth, the skin smoothing effect is more obvious; 1: Natural, the skin smoothing effect is more natural, and more facial details are retained; 2: Excellent, the skin smoothing effect is between smooth and natural, retaining more skin details than smooth, and the skin smoothing degree is higher than natural. |
void setWhitenessLevel | (float whitenessLevel) |
Param | DESC |
whitenessLevel | Whitening level, ranging from 0 - 9; 0 indicates to disable the filter, and 9 indicates the most obvious effect. |
Object getExtension |
Param | DESC |
extensionType |
Object callExperimentalAPI | (String jsonStr |
| TUIRoomDefine.ExperimentalAPIResponseCallback callback) |
Feedback