Name | Type | Description |
code | String | If the code is empty "", it means the call succeeded, if the code is not empty "", it means the call failed. |
message | String | Error message |
intRoomId
and strRoomId
are mutually exclusive. If you choose to use strRoomId
, intRoomId
needs to be filled in as 0. If both are filled in, the SDK will prioritize intRoomId
.intRoomId
and strRoomId
because they are not interchangeable. For example, the number 123 and the string "123" represent two completely different rooms.Value | Type | Description |
intRoomId | int | Numeric room ID. |
strRoomId | String | String room number. |
Name | Type | Description |
resolution | Video resolution | |
resolutionMode | Video aspect ratio mode |
Name | Type | Description |
roomId | Room Id. | |
offlinePushInfo | Offline push info configuration information | |
timeout | String | Call timeout period, default: 30s, unit: seconds. |
userData | String | An additional parameter. |
Name | Type | Description |
title | String | title |
desc | String | description |
ignoreIOSBadge | bool | Offline push ignores the badge count (only valid for iOS). If set to true, this message will not increase the unread count of the app icon on the iOS receiving end. |
iOSSound | String | Offline push sound settings (only valid for iOS). When sound = IOS_OFFLINE_PUSH_NO_SOUND, it means no sound will be played when receiving. When sound = IOS_OFFLINE_PUSH_DEFAULT_SOUND, it means playing system sound when receiving. If you want to customize iOSSound, you need to link the voice file into the Xcode project first, and then set the voice file name (with suffix) to iOSSound |
androidSound | String | Push sound settings offline (only valid for Android, supported by IMSDK 6.1 and above).
FCM push to set the sound prompt on Android 8.0 and above, you must call setAndroidFCMChannelID to set the channelID to take effect |
androidOPPOChannelID | String | Offline push setting channel ID of OPPO mobile phone 8.0 system and above |
androidVIVOClassification | int | VIVO push message classification (to be discarded interface, VIVO push service will optimize the message classification rules on April 3, 2023, it is recommended to use setAndroidVIVOCategory to set the message category). 0: operation message 1: system message, the default value is 1 |
androidXiaoMiChannelID | String | Channel ID of Xiaomi mobile phone system 8.0 and above |
androidFCMChannelID | String | Channel ID of FCM channel mobile phone system 8.0 and above |
androidHuaWeiCategory | String | Huawei Push Message Classification |
isDisablePush | bool | Whether to turn off push (by default, push is enabled) |
iOSPushType | iOS offline push type, default: APNs |
Value | Type | Description |
callId | String | Call recording ID. |
inviter | String | Inviter ID. |
inviteList | List<String> | List of invited user IDs. |
scene | Call scenario. | |
mediaType | Media type. | |
groupId | String | Group ID. |
role | Role. | |
result | Call result type. | |
beginTime | int | Start time. |
totalTime | int | Total time. |
Value | Type | Description |
begin | double | Start time. |
end | double | End time. |
resultType | Call result type. |
Name | Value | Description |
none | 0 | None |
audio | 1 | Audio Calls |
video | 2 | Video Calls |
Name | Value | Description |
none | 0 | None |
caller | 1 | Caller |
called | 2 | Called |
Name | Value | Description |
none | 0 | None |
waiting | 1 | waiting calls |
accept | 2 | calls answered |
Name | Value | Description |
groupCall | 0 | Group Call |
multiCall | 1 | Multi calls (not supported yet, stay tuned) |
singleCall | 2 | one-to-one call |
Name | Value | Description |
unknown | 0 | Unkown |
excellent | 1 | The current network is very good |
good | 2 | The current network is good |
poor | 3 | The current network is poor |
bad | 4 | The urrent network is bad |
vBad | 5 | The current network is very poor |
down | 6 | The current network is unavailable |
Name | Value | Description |
fill | 0 | Filling mode: the content of the screen will be centered and scaled proportionally to fill the entire display area, and the part beyond the display area will be cropped, and the screen may be incomplete in this mode. |
fit | 1 | Fit mode: scale according to the long side of the screen to fit the display area, and the short side will be filled with black. In this mode, the image is complete but there may be black borders. |
Name | Value | Description |
rotation_0 | 0 | Rotate 0 degrees clockwise |
rotation_90 | 1 | Rotate 90 degrees clockwise |
rotation_180 | 2 | Rotate 180 degrees clockwise |
rotation_270 | 3 | Rotate 270 degrees clockwise |
Name | Value | Description |
landscape | 0 | Landscape resolution,for example : eResolution.Resolution_640_360 + ResolutionMode.Landscape = 640 × 360。 |
portrait | 1 | Portrait resolution,for example : Resolution.Resolution_640_360 + ResolutionMode.Portrait = 360 × 640。 |
Name | Value | Description |
resolution_640_360 | 0 | aspect ratio 16:9;resolution 640x360;recommended bitrate(VideoCall)500kbps |
resolution_640_480 | 1 | aspect ratio 4:3;resolution 640x480;recommended bitrate(VideoCall)600kbps |
resolution_960_540 | 2 | aspect ratio 16:9;resolution 960x540;recommended bitrate(VideoCall)850kbps |
resolution_960_720 | 3 | aspect ratio 4:3;resolution 960x720;recommended bitrate(VideoCall)1000kbps |
resolution_1280_720 | 4 | aspect ratio 16:9;resolution 1280x720;recommended bitrate(VideoCall)1200kbps |
resolution_1920_1080 | 5 | aspect ratio 16:9;resolution 1920x1080;recommended bitrate(VideoCall)2000kbps |
Name | Value | Description |
APNs | 0 | APNS Push |
VoIP | 1 | VoIP Push |
Type | Value | Description |
front | 0 | Front camera. |
back | 1 | Rear camera. |
Type | Value | Description |
speakerphone | 0 | Speaker |
earpiece | 1 | Earpiece |
Type | Value | Description |
unknown | 0 | Unknown |
missed | 1 | Missed |
incoming | 2 | Incoming call |
outgoing | 3 | Outgoing Call |
Was this page helpful?