Interface
ZIMLogUploadedCallback
Methods
onLogUploaded
public onLogUploadedParameters
| Name | Type | Description |
|---|---|---|
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMLoggedInCallback
Methods
onLoggedIn
public onLoggedInParameters
| Name | Type | Description |
|---|---|---|
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
Details
After the developer login, execute the callback of the result.
- Use cases:Developers can use the [errorCode] in the callback to determine whether the login is successful.
- Triggered when:When the developer calls the [login] interface, the callback will be triggered.
- Available since:1.2.0 and above.
ZIMTokenRenewedCallback
Methods
onTokenRenewed
public onTokenRenewedParameters
| Name | Type | Description |
|---|---|---|
| token | String | The renewed token. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMExperimentalAPICalledCallback
Methods
onExperimentalAPICalled
public onExperimentalAPICalledParameters
| Name | Type | Description |
|---|---|---|
| result | String | The result returned by calling the experimental API in JSON string format. For details, please consult ZEGO technical support. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMUserNameUpdatedCallback
Methods
onUserNameUpdated
public onUserNameUpdatedParameters
| Name | Type | Description |
|---|---|---|
| userName | String | The updated user name. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMUserAvatarUrlUpdatedCallback
Methods
onUserAvatarUrlUpdated
public onUserAvatarUrlUpdatedParameters
| Name | Type | Description |
|---|---|---|
| userAvatarUrl | String | The updated user avatar URL. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMUserExtendedDataUpdatedCallback
Methods
onUserExtendedDataUpdated
public onUserExtendedDataUpdatedParameters
| Name | Type | Description |
|---|---|---|
| extendedData | String | The updated user extended data. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMUserCustomStatusUpdatedCallback
Methods
onUserCustomStatusUpdated
public onUserCustomStatusUpdatedParameters
| Name | Type | Description |
|---|---|---|
| customStatus | String | The updated user custom status. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMUserBadgeUpdatedCallback
Methods
onUserBadgeUpdated
public onUserBadgeUpdatedParameters
| Name | Type | Description |
|---|---|---|
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMUsersInfoQueriedCallback
Methods
onUsersInfoQueried
public onUsersInfoQueriedParameters
| Name | Type | Description |
|---|---|---|
| userList | ArrayList<ZIMUserFullInfo> | The queried user information list. |
| errorUserList | ArrayList<ZIMErrorUserInfo> | The list of user IDs that failed to be queried. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMUserOfflinePushRuleUpdatedCallback
Methods
onUserOfflinePushRuleUpdated
public onUserOfflinePushRuleUpdatedParameters
| Name | Type | Description |
|---|---|---|
| offlinePushRule | ZIMUserOfflinePushRule | The updated user offline push rule. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMSelfUserInfoQueriedCallback
Methods
onSelfUserInfoQueried
public onSelfUserInfoQueriedParameters
| Name | Type | Description |
|---|---|---|
| selfUserInfo | ZIMSelfUserInfo | The current user information and rules. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMUsersStatusQueriedCallback
Methods
onUsersStatusQueried
public onUsersStatusQueriedParameters
| Name | Type | Description |
|---|---|---|
| userStatusList | ArrayList<ZIMUserStatus> | The queried user status list. |
| errorUserList | ArrayList<ZIMErrorUserInfo> | The list of user IDs that failed to be queried. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMUsersStatusSubscribedCallback
Methods
onUsersStatusSubscribed
public onUsersStatusSubscribedParameters
| Name | Type | Description |
|---|---|---|
| errorUserList | ArrayList<ZIMErrorUserInfo> | The list of user IDs that failed to subscribe. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMUsersStatusUnsubscribedCallback
Methods
onUsersStatusUnsubscribed
public onUsersStatusUnsubscribedParameters
| Name | Type | Description |
|---|---|---|
| errorUserList | ArrayList<ZIMErrorUserInfo> | The list of user IDs that failed to unsubscribe. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMSubscribedUserStatusListQueriedCallback
Methods
onSubscribedUserStatusListQueried
Parameters
| Name | Type | Description |
|---|---|---|
| userStatusSubscriptionList | ArrayList<ZIMUserStatusSubscription> | The user status subscription list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMConversationQueriedCallback
Methods
onConversationQueried
public onConversationQueriedParameters
| Name | Type | Description |
|---|---|---|
| conversation | ZIMConversation | The queried conversation object. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMConversationListQueriedCallback
Methods
onConversationListQueried
public onConversationListQueriedParameters
| Name | Type | Description |
|---|---|---|
| conversationList | ArrayList<ZIMConversation> | The queried conversation list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMConversationTotalUnreadMessageCountQueriedCallback
Methods
onConversationTotalUnreadMessageCountQueried
Parameters
| Name | Type | Description |
|---|---|---|
| unreadMessageCount | int | The total count of unread messages across all conversations. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMConversationDeletedCallback
Methods
onConversationDeleted
public onConversationDeletedParameters
| Name | Type | Description |
|---|---|---|
| conversationID | String | The ID of the deleted conversation. |
| conversationType | ZIMConversationType | The type of the deleted conversation. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMConversationsAllDeletedCallback
Methods
onConversationsAllDeleted
public onConversationsAllDeletedParameters
| Name | Type | Description |
|---|---|---|
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMConversationUnreadMessageCountClearedCallback
Methods
onConversationUnreadMessageCountCleared
Parameters
| Name | Type | Description |
|---|---|---|
| conversationID | String | The conversation ID whose unread message count was cleared. |
| conversationType | ZIMConversationType | The conversation type whose unread message count was cleared. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMConversationTotalUnreadMessageCountClearedCallback
Methods
onConversationTotalUnreadMessageCountCleared
Parameters
| Name | Type | Description |
|---|---|---|
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMConversationNotificationStatusSetCallback
Methods
onConversationNotificationStatusSet
Parameters
| Name | Type | Description |
|---|---|---|
| conversationID | String | The conversation ID for which the notification status was set. |
| conversationType | ZIMConversationType | The conversation type for which the notification status was set. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMConversationMessageReceiptReadSentCallback
Methods
onConversationMessageReceiptReadSent
Parameters
| Name | Type | Description |
|---|---|---|
| conversationID | String | The conversation ID for which the receipt was sent. |
| conversationType | ZIMConversationType | The conversation type for which the receipt was sent. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMConversationPinnedStateUpdatedCallback
Methods
onConversationPinnedStateUpdated
Parameters
| Name | Type | Description |
|---|---|---|
| conversationID | String | The conversation ID whose pinned state was updated. |
| conversationType | ZIMConversationType | The conversation type whose pinned state was updated. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMConversationPinnedListQueriedCallback
Methods
onConversationPinnedListQueried
Parameters
| Name | Type | Description |
|---|---|---|
| conversationList | ArrayList<ZIMConversation> | The queried pinned conversation list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMConversationDraftSetCallback
Methods
onConversationDraftSet
public onConversationDraftSetParameters
| Name | Type | Description |
|---|---|---|
| conversationID | String | The conversation ID for which the draft was set. |
| conversationType | ZIMConversationType | The conversation type for which the draft was set. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMConversationMarkSetCallback
Methods
onConversationMarkSet
public onConversationMarkSetParameters
| Name | Type | Description |
|---|---|---|
| failedConversationInfos | ArrayList<ZIMConversationBaseInfo> | The list of conversation info objects that failed to have marks set. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMConversationMessageDestructDurationSetCallback
Methods
onConversationMessageDestructDurationSet
Parameters
| Name | Type | Description |
|---|---|---|
| conversationID | String | The ID of the conversation for which the setting was applied. |
| conversationType | ZIMConversationType | The type of the conversation for which the setting was applied. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMConversationsSearchedCallback
Methods
onConversationsSearched
public onConversationsSearchedParameters
| Name | Type | Description |
|---|---|---|
| conversationSearchInfoList | ArrayList<ZIMConversationSearchInfo> | The list of searched conversation results. |
| nextFlag | int | Anchor for the next page query. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMMessageSentCallback
Methods
onMessageSent
public onMessageSentParameters
| Name | Type | Description |
|---|---|---|
| message | ZIMMessage | Message object. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
onMessageAttached
public onMessageAttachedParameters
| Name | Type | Description |
|---|---|---|
| message | ZIMMessage | Message object. |
ZIMMediaMessageSentCallback
Methods
onMessageSent
public onMessageSentParameters
| Name | Type | Description |
|---|---|---|
| message | ZIMMediaMessage | Message object. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
onMessageAttached
public onMessageAttachedParameters
| Name | Type | Description |
|---|---|---|
| message | ZIMMediaMessage | Message object. |
onMediaUploadingProgress
public onMediaUploadingProgressParameters
| Name | Type | Description |
|---|---|---|
| message | ZIMMediaMessage | Media message object. |
| currentFileSize | long | Current upload progress of the media file. |
| totalFileSize | long | Total size of the media file. |
ZIMMessageSentFullCallback
Methods
onMessageSent
public onMessageSentParameters
| Name | Type | Description |
|---|---|---|
| message | ZIMMessage | Message object. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
onMessageAttached
public onMessageAttachedParameters
| Name | Type | Description |
|---|---|---|
| message | ZIMMessage | Message object. |
onMediaUploadingProgress
public onMediaUploadingProgressParameters
| Name | Type | Description |
|---|---|---|
| message | ZIMMediaMessage | Media message object. |
| currentFileSize | long | Current upload progress of the media file. |
| totalFileSize | long | Total size of the media file. |
onMultipleMediaUploadingProgress
Parameters
| Name | Type | Description |
|---|---|---|
| message | ZIMMultipleMessage | Multiple message object. |
| currentFileSize | long | Total upload progress of media files in the multiple message. |
| totalFileSize | long | Total size of media files in the multiple message. |
| messageInfoIndex | int | Content index of the multiple message. |
| currentIndexFileSize | long | Upload progress of a single media file in the combined message. |
| totalIndexFileSize | long | Size of a single media file in the combined message. |
ZIMMessageQueriedCallback
Methods
onMessageQueried
public onMessageQueriedParameters
| Name | Type | Description |
|---|---|---|
| conversationID | String | Conversation ID. |
| conversationType | ZIMConversationType | Conversation type. |
| messageList | ArrayList<ZIMMessage> | Message list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMMessageDeletedCallback
Methods
onMessageDeleted
public onMessageDeletedParameters
| Name | Type | Description |
|---|---|---|
| conversationID | String | Conversation ID. |
| conversationType | ZIMConversationType | Conversation type. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMConversationMessagesAllDeletedCallback
Methods
onConversationMessagesAllDeleted
Parameters
| Name | Type | Description |
|---|---|---|
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMMessageRevokedCallback
Methods
onMessageRevoked
public onMessageRevokedParameters
| Name | Type | Description |
|---|---|---|
| message | ZIMMessage | Message object. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMMessageInsertedCallback
Methods
onMessageInserted
public onMessageInsertedParameters
| Name | Type | Description |
|---|---|---|
| message | ZIMMessage | Message object. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMMessageLocalExtendedDataUpdatedCallback
Methods
onMessageLocalExtendedDataUpdated
Parameters
| Name | Type | Description |
|---|---|---|
| message | ZIMMessage | Message object. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMMessageReceiptsReadSentCallback
Methods
onMessageReceiptsReadSent
public onMessageReceiptsReadSentParameters
| Name | Type | Description |
|---|---|---|
| conversationID | String | Conversation ID. |
| conversationType | ZIMConversationType | Conversation type. |
| errorMessageIDs | ArrayList<Long> | Error message ID list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMMessageReceiptsInfoQueriedCallback
Methods
onMessageReceiptsInfoQueried
public onMessageReceiptsInfoQueriedParameters
| Name | Type | Description |
|---|---|---|
| infos | ArrayList<ZIMMessageReceiptInfo> | Message receipt information list. |
| errorMessageIDs | ArrayList<Long> | Error message ID list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMMediaDownloadedCallback
Methods
onMediaDownloaded
public onMediaDownloadedParameters
| Name | Type | Description |
|---|---|---|
| message | ZIMMessage | Message object. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
onMediaDownloadingProgress
public onMediaDownloadingProgressParameters
| Name | Type | Description |
|---|---|---|
| message | ZIMMessage | Message object. |
| currentFileSize | long | Current download progress of the media file. |
| totalFileSize | long | Total size of the media file. |
ZIMMessagesSearchedCallback
Methods
onMessagesSearched
public onMessagesSearchedParameters
| Name | Type | Description |
|---|---|---|
| conversationID | String | Conversation ID. |
| conversationType | ZIMConversationType | Conversation type. |
| messageList | ArrayList<ZIMMessage> | Message list. |
| nextMessage | ZIMMessage | Next message object. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMMessagesGlobalSearchedCallback
Methods
onMessagesGlobalSearched
public onMessagesGlobalSearchedParameters
| Name | Type | Description |
|---|---|---|
| messageList | ArrayList<ZIMMessage> | Message list. |
| nextMessage | ZIMMessage | Next message object. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMMessageReactionAddedCallback
Methods
onMessageReactionAdded
public onMessageReactionAddedParameters
| Name | Type | Description |
|---|---|---|
| reaction | ZIMMessageReaction | Message reaction object. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMMessageReactionDeletedCallback
Methods
onMessageReactionDeleted
public onMessageReactionDeletedParameters
| Name | Type | Description |
|---|---|---|
| reaction | ZIMMessageReaction | Message reaction object. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMMessageReactionsAllDeletedCallback
Methods
onMessageReactionsAllDeleted
public onMessageReactionsAllDeletedParameters
| Name | Type | Description |
|---|---|---|
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMMessageReactionUserListQueriedCallback
Methods
onMessageReactionUserListQueried
Parameters
| Name | Type | Description |
|---|---|---|
| message | ZIMMessage | Message object. |
| userInfoList | ArrayList<ZIMMessageReactionUserFullInfo> | List of user reaction information. |
| reactionType | String | Message reaction type. |
| nextFlag | long | List query anchor, used to query the next page. The current value returns 0, which means that the list has been pulled out. |
| totalCount | int | Total user count. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCombineMessageDetailQueriedCallback
Methods
onCombineMessageDetailQueried
Parameters
| Name | Type | Description |
|---|---|---|
| message | ZIMCombineMessage | Combine message object. The messageList in this object already contains the sub-message list of the merged message. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMMessageRepliedListQueriedCallback
Methods
onMessageRepliedListQueried
public onMessageRepliedListQueriedParameters
| Name | Type | Description |
|---|---|---|
| messageList | ArrayList<ZIMMessage> | Message list. |
| nextFlag | long | List query anchor, used to query the next page. The current value returns 0, which means that the list has been pulled out. |
| rootRepliedInfo | ZIMMessageRootRepliedInfo | Root message reply information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMSendingMessageCancelledCallback
Methods
onSendingMessageCancelled
public onSendingMessageCancelledParameters
| Name | Type | Description |
|---|---|---|
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMMessagePinnedCallback
Methods
onMessagePinned
public onMessagePinnedParameters
| Name | Type | Description |
|---|---|---|
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMPinnedMessageListQueriedCallback
Methods
onPinnedMessageListQueried
public onPinnedMessageListQueriedParameters
| Name | Type | Description |
|---|---|---|
| messageList | ArrayList<ZIMMessage> | Message list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMFileCacheQueriedCallback
Methods
onFileCacheQueried
public onFileCacheQueriedParameters
| Name | Type | Description |
|---|---|---|
| fileCacheInfo | ZIMFileCacheInfo | File cache information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMFileCacheClearedCallback
Methods
onFileCacheCleared
public onFileCacheClearedParameters
| Name | Type | Description |
|---|---|---|
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMRoomCreatedCallback
Methods
onRoomCreated
public onRoomCreatedParameters
| Name | Type | Description |
|---|---|---|
| roomInfo | ZIMRoomFullInfo | Room information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMRoomJoinedCallback
Methods
onRoomJoined
public onRoomJoinedParameters
| Name | Type | Description |
|---|---|---|
| roomInfo | ZIMRoomFullInfo | Room information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMRoomEnteredCallback
Methods
onRoomEntered
public onRoomEnteredParameters
| Name | Type | Description |
|---|---|---|
| roomInfo | ZIMRoomFullInfo | Room information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMRoomSwitchedCallback
Methods
onRoomSwitched
public onRoomSwitchedParameters
| Name | Type | Description |
|---|---|---|
| roomInfo | ZIMRoomFullInfo | Room information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMRoomLeftCallback
Methods
onRoomLeft
public onRoomLeftParameters
| Name | Type | Description |
|---|---|---|
| roomID | String | Room ID. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMRoomAllLeftCallback
Methods
onRoomAllLeft
public onRoomAllLeftParameters
| Name | Type | Description |
|---|---|---|
| roomIDs | ArrayList<String> | Room ID list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMRoomMemberQueriedCallback
Methods
onRoomMemberQueried
public onRoomMemberQueriedParameters
| Name | Type | Description |
|---|---|---|
| roomID | String | Room ID. |
| memberList | ArrayList<ZIMUserInfo> | Room member list. |
| nextFlag | String | Used to query the next page. The current value returns an empty string, which means that the list has been pulled out. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMRoomMembersQueriedCallback
Methods
onRoomMembersQueried
public onRoomMembersQueriedParameters
| Name | Type | Description |
|---|---|---|
| roomID | String | Room ID. |
| memberList | ArrayList<ZIMRoomMemberInfo> | Room member list. |
| errorUserList | ArrayList<ZIMErrorUserInfo> | Error member list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMRoomOnlineMemberCountQueriedCallback
Methods
onRoomOnlineMemberCountQueried
Parameters
| Name | Type | Description |
|---|---|---|
| roomID | String | Room ID. |
| count | int | Online member count. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMRoomAttributesOperatedCallback
Methods
onRoomAttributesOperated
public onRoomAttributesOperatedParameters
| Name | Type | Description |
|---|---|---|
| roomID | String | Room ID. |
| errorKeys | ArrayList<String> | Error key list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMRoomAttributesBatchOperatedCallback
Methods
onRoomAttributesBatchOperated
Parameters
| Name | Type | Description |
|---|---|---|
| roomID | String | Room ID. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMRoomAttributesQueriedCallback
Methods
onRoomAttributesQueried
public onRoomAttributesQueriedParameters
| Name | Type | Description |
|---|---|---|
| roomID | String | Room ID. |
| roomAttributes | HashMap<String, String> | Room attributes. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMRoomMembersAttributesOperatedCallback
Methods
onRoomMembersAttributesOperated
Parameters
| Name | Type | Description |
|---|---|---|
| roomID | String | Room ID. |
| infos | ArrayList<ZIMRoomMemberAttributesOperatedInfo> | Room member attribute operation information list. |
| errorUserList | ArrayList<String> | Error member list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMRoomMembersAttributesQueriedCallback
Methods
onRoomMembersAttributesQueried
Parameters
| Name | Type | Description |
|---|---|---|
| roomID | String | Room ID. |
| infos | ArrayList<ZIMRoomMemberAttributesInfo> | Room member attribute information list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMRoomMemberAttributesListQueriedCallback
Methods
onRoomMemberAttributesListQueried
Parameters
| Name | Type | Description |
|---|---|---|
| roomID | String | Room ID. |
| infos | ArrayList<ZIMRoomMemberAttributesInfo> | Room member attribute information list. |
| nextFlag | String | Used to query the next page. The current value returns 0, which means that the list has been pulled out. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupCreatedCallback
Methods
onGroupCreated
public onGroupCreatedParameters
| Name | Type | Description |
|---|---|---|
| groupInfo | ZIMGroupFullInfo | Group information. |
| userList | ArrayList<ZIMGroupMemberInfo> | Group member information list. |
| errorUserList | ArrayList<ZIMErrorUserInfo> | Error member list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupDismissedCallback
Methods
onGroupDismissed
public onGroupDismissedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupJoinedCallback
Methods
onGroupJoined
public onGroupJoinedParameters
| Name | Type | Description |
|---|---|---|
| groupInfo | ZIMGroupFullInfo | Group information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupLeftCallback
Methods
onGroupLeft
public onGroupLeftParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupUsersInvitedCallback
Methods
onGroupUsersInvited
public onGroupUsersInvitedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| userList | ArrayList<ZIMGroupMemberInfo> | Group member information list. |
| errorUserList | ArrayList<ZIMErrorUserInfo> | Error member list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupMemberKickedCallback
Methods
onGroupMemberKicked
public onGroupMemberKickedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| kickedUserIDList | ArrayList<String> | List of user IDs kicked out. |
| errorUserList | ArrayList<ZIMErrorUserInfo> | Error member list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupOwnerTransferredCallback
Methods
onGroupOwnerTransferred
public onGroupOwnerTransferredParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| toUserID | String | New group owner user ID. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupNameUpdatedCallback
Methods
onGroupNameUpdated
public onGroupNameUpdatedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| groupName | String | Group name. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupAvatarUrlUpdatedCallback
Methods
onGroupAvatarUrlUpdated
public onGroupAvatarUrlUpdatedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| groupAvatarUrl | String | Group avatar URL. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupNoticeUpdatedCallback
Methods
onGroupNoticeUpdated
public onGroupNoticeUpdatedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| groupNotice | String | Group notice. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupAliasUpdatedCallback
Methods
onGroupAliasUpdated
public onGroupAliasUpdatedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| groupAlias | String | Group alias. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupInfoQueriedCallback
Methods
onGroupInfoQueried
public onGroupInfoQueriedParameters
| Name | Type | Description |
|---|---|---|
| groupInfo | ZIMGroupFullInfo | Group information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupAttributesOperatedCallback
Methods
onGroupAttributesOperated
public onGroupAttributesOperatedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| errorKeys | ArrayList<String> | Error keys. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupAttributesQueriedCallback
Methods
onGroupAttributesQueried
public onGroupAttributesQueriedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| groupAttributes | HashMap<String, String> | Group attributes. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupMemberRoleUpdatedCallback
Methods
onGroupMemberRoleUpdated
public onGroupMemberRoleUpdatedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| forUserID | String | User ID. |
| role | int | User role. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupMemberNicknameUpdatedCallback
Methods
onGroupMemberNicknameUpdated
public onGroupMemberNicknameUpdatedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| forUserID | String | User ID. |
| nickname | String | User nickname. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupMemberInfoQueriedCallback
Methods
onGroupMemberInfoQueried
public onGroupMemberInfoQueriedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| userInfo | ZIMGroupMemberInfo | Group member user information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupListQueriedCallback
Methods
onGroupListQueried
public onGroupListQueriedParameters
| Name | Type | Description |
|---|---|---|
| groupList | ArrayList<ZIMGroup> | Group list. |
| nextFlag | long | The pagination anchor returned by the SDK is 0 if it means the list has been completely queried, and non-0 if it means there is still data to be queried. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupMemberListQueriedCallback
Methods
onGroupMemberListQueried
public onGroupMemberListQueriedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| userList | ArrayList<ZIMGroupMemberInfo> | Group member list. |
| nextFlag | int | Used to query the next page. The current value returns 0, which means that the list has been pulled out. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupMemberCountQueriedCallback
Methods
onGroupMemberCountQueried
public onGroupMemberCountQueriedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| count | int | Group member count. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupMessageReceiptMemberListQueriedCallback
Methods
onGroupMessageReceiptMemberListQueried
Parameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| userList | ArrayList<ZIMGroupMemberInfo> | Group member list. |
| nextFlag | int | Used to query the next page. The current value returns 0, which means that the list has been pulled out. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupMutedCallback
Methods
onGroupMuted
public onGroupMutedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| isMute | boolean | Whether to mute. |
| mutedInfo | ZIMGroupMuteInfo | Group mute information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupMembersMutedCallback
Methods
onGroupMembersMuted
public onGroupMembersMutedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| isMute | boolean | Whether to mute. |
| duration | int | Mute duration. |
| mutedUserIDs | ArrayList<String> | List of muted member userIDs. |
| errorUserList | ArrayList<ZIMErrorUserInfo> | List of user information that failed to be muted. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupMemberMutedListQueriedCallback
Methods
onGroupMemberMutedListQueried
Parameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| nextFlag | long | Used to query the next page. The current value returns 0, which means that the list has been pulled out. |
| userList | ArrayList<ZIMGroupMemberInfo> | Group member list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupsSearchedCallback
Methods
onGroupsSearched
public onGroupsSearchedParameters
| Name | Type | Description |
|---|---|---|
| groupSearchInfoList | ArrayList<ZIMGroupSearchInfo> | Group search information list. |
| nextFlag | int | Used to query the next page. The current value returns 0, which means that the list has been pulled out. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupMembersSearchedCallback
Methods
onGroupMembersSearched
public onGroupMembersSearchedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| userList | ArrayList<ZIMGroupMemberInfo> | Group member list. |
| nextFlag | int | Used to query the next page. The current value returns 0, which means that the list has been pulled out. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupJoinModeUpdatedCallback
Methods
onGroupJoinModeUpdated
public onGroupJoinModeUpdatedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| mode | ZIMGroupJoinMode | Group join mode. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupInviteModeUpdatedCallback
Methods
onGroupInviteModeUpdated
public onGroupInviteModeUpdatedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| mode | ZIMGroupInviteMode | Group invite mode. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupBeInviteModeUpdatedCallback
Methods
onGroupBeInviteModeUpdated
public onGroupBeInviteModeUpdatedParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| mode | ZIMGroupBeInviteMode | Group be invite mode. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupJoinApplicationSentCallback
Methods
onGroupJoinApplicationSent
public onGroupJoinApplicationSentParameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupJoinApplicationAcceptedCallback
Methods
onGroupJoinApplicationAccepted
Parameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| userID | String | User ID. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupJoinApplicationRejectedCallback
Methods
onGroupJoinApplicationRejected
Parameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| userID | String | User ID. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupInviteApplicationsSentCallback
Methods
onGroupInviteApplicationsSent
Parameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group ID. |
| errorUserList | ArrayList<ZIMErrorUserInfo> | Invite failed user information list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupInviteApplicationAcceptedCallback
Methods
onGroupInviteApplicationAccepted
Parameters
| Name | Type | Description |
|---|---|---|
| groupInfo | ZIMGroupFullInfo | Group information. |
| inviterUserID | String | Inviter user ID. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupInviteApplicationRejectedCallback
Methods
onGroupInviteApplicationRejected
Parameters
| Name | Type | Description |
|---|---|---|
| groupID | String | Group information. |
| inviterUserID | String | Inviter user ID. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMGroupApplicationListQueriedCallback
Methods
onGroupApplicationListQueried
Parameters
| Name | Type | Description |
|---|---|---|
| applicationList | ArrayList<ZIMGroupApplicationInfo> | Group application information list. |
| nextFlag | long | Pagination flag, used to get the next page. The current value returns 0, indicating that all data has been pulled out. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCallInvitationSentCallback
Methods
onCallInvitationSent
public onCallInvitationSentParameters
| Name | Type | Description |
|---|---|---|
| callID | String | Call ID. |
| info | ZIMCallInvitationSentInfo | Call invitation information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCallingInvitationSentCallback
Methods
onCallingInvitationSent
public onCallingInvitationSentParameters
| Name | Type | Description |
|---|---|---|
| callID | String | Call ID. |
| info | ZIMCallingInvitationSentInfo | Calling invitation information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCallCancelSentCallback
Methods
onCallCancelSent
public onCallCancelSentParameters
| Name | Type | Description |
|---|---|---|
| callID | String | Call ID. |
| errorInvitees | ArrayList<String> | Call invitation failed user ID list. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCallAcceptanceSentCallback
Methods
onCallAcceptanceSent
public onCallAcceptanceSentParameters
| Name | Type | Description |
|---|---|---|
| callID | String | Call ID. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCallRejectionSentCallback
Methods
onCallRejectionSent
public onCallRejectionSentParameters
| Name | Type | Description |
|---|---|---|
| callID | String | Call ID. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCallJoinSentCallback
Methods
onCallJoinSent
public onCallJoinSentParameters
| Name | Type | Description |
|---|---|---|
| callID | String | Call ID. |
| info | ZIMCallJoinSentInfo | Call join information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCallQuitSentCallback
Methods
onCallQuitSent
public onCallQuitSentParameters
| Name | Type | Description |
|---|---|---|
| callID | String | Call ID. |
| info | ZIMCallQuitSentInfo | Call quit information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCallEndSentCallback
Methods
onCallEndSent
public onCallEndSentParameters
| Name | Type | Description |
|---|---|---|
| callID | String | Call ID. |
| info | ZIMCallEndedSentInfo | Call end information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCallInvitationListQueriedCallback
Methods
onCallInvitationListQueried
public onCallInvitationListQueriedParameters
| Name | Type | Description |
|---|---|---|
| callList | ArrayList<ZIMCallInfo> | Call information list. |
| nextFlag | long | Pagination flag, used to get the next page. The current value returns 0, indicating that all data has been pulled out. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMFriendAddedCallback
Methods
onFriendAdded
public onFriendAddedParameters
| Name | Type | Description |
|---|---|---|
| friendInfo | ZIMFriendInfo | Friend information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMFriendsDeletedCallback
Methods
onFriendsDeleted
public onFriendsDeletedParameters
| Name | Type | Description |
|---|---|---|
| errorUserList | ArrayList<ZIMErrorUserInfo> | Friend information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMFriendListQueriedCallback
Methods
onFriendListQueried
public onFriendListQueriedParameters
| Name | Type | Description |
|---|---|---|
| friendList | ArrayList<ZIMFriendInfo> | Friend information list. |
| nextFlag | int | Pagination flag, used to get the next page. The current value returns 0, indicating that all data has been pulled out. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMFriendsInfoQueriedCallback
Methods
onFriendsInfoQueried
public onFriendsInfoQueriedParameters
| Name | Type | Description |
|---|---|---|
| friendInfos | ArrayList<ZIMFriendInfo> | Friend information list. |
| errorUserList | ArrayList<ZIMErrorUserInfo> | Friend information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMFriendsRelationCheckedCallback
Methods
onFriendsRelationChecked
public onFriendsRelationCheckedParameters
| Name | Type | Description |
|---|---|---|
| relationInfos | ArrayList<ZIMFriendRelationInfo> | Friend relationship information list. |
| errorUserList | ArrayList<ZIMErrorUserInfo> | Friend information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMFriendApplicationSentCallback
Methods
onFriendApplicationSent
public onFriendApplicationSentParameters
| Name | Type | Description |
|---|---|---|
| applicationInfo | ZIMFriendApplicationInfo | Friend application information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMFriendApplicationAcceptedCallback
Methods
onFriendApplicationAccepted
public onFriendApplicationAcceptedParameters
| Name | Type | Description |
|---|---|---|
| friendInfo | ZIMFriendInfo | Friend information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMFriendApplicationRejectedCallback
Methods
onFriendApplicationRejected
public onFriendApplicationRejectedParameters
| Name | Type | Description |
|---|---|---|
| userInfo | ZIMUserInfo | User information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMFriendApplicationListQueriedCallback
Methods
onFriendApplicationListQueried
Parameters
| Name | Type | Description |
|---|---|---|
| applicationList | ArrayList<ZIMFriendApplicationInfo> | Friend application information list. |
| nextFlag | int | Pagination flag, used to get the next page. The current value returns 0, indicating that all data has been pulled out. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMFriendAliasUpdatedCallback
Methods
onFriendAliasUpdated
public onFriendAliasUpdatedParameters
| Name | Type | Description |
|---|---|---|
| friendInfo | ZIMFriendInfo | Friend information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMFriendAttributesUpdatedCallback
Methods
onFriendAttributesUpdated
public onFriendAttributesUpdatedParameters
| Name | Type | Description |
|---|---|---|
| friendInfo | ZIMFriendInfo | Friend information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMFriendsSearchedCallback
Methods
onFriendsSearched
public onFriendsSearchedParameters
| Name | Type | Description |
|---|---|---|
| friendInfos | ArrayList<ZIMFriendInfo> | Friend information list. |
| nextFlag | int | Pagination flag, used to get the next page. The current value returns 0, indicating that all data has been pulled out. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMBlacklistUsersAddedCallback
Methods
onBlacklistUsersAdded
public onBlacklistUsersAddedParameters
| Name | Type | Description |
|---|---|---|
| errorUserList | ArrayList<ZIMErrorUserInfo> | User information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMBlacklistUsersRemovedCallback
Methods
onBlacklistUsersRemoved
public onBlacklistUsersRemovedParameters
| Name | Type | Description |
|---|---|---|
| errorUserList | ArrayList<ZIMErrorUserInfo> | User information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMBlacklistQueriedCallback
Methods
onBlacklistQueried
public onBlacklistQueriedParameters
| Name | Type | Description |
|---|---|---|
| blacklist | ArrayList<ZIMUserInfo> | Blacklist user information list. |
| nextFlag | int | Pagination flag, used to get the next page. The current value returns 0, indicating that all data has been pulled out. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMBlacklistCheckedCallback
Methods
onBlacklistChecked
public onBlacklistCheckedParameters
| Name | Type | Description |
|---|---|---|
| isUserInBlacklist | boolean | Whether in blacklist. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityCreatedCallback
Methods
onCommunityCreated
public onCommunityCreatedParameters
| Name | Type | Description |
|---|---|---|
| communityInfo | ZIMCommunityFullInfo | Community information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityDismissedCallback
Methods
onCommunityDismissed
public onCommunityDismissedParameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityJoinedCallback
Methods
onCommunityJoined
public onCommunityJoinedParameters
| Name | Type | Description |
|---|---|---|
| communityInfo | ZIMCommunityFullInfo | Community information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityLeftCallback
Methods
onCommunityLeft
public onCommunityLeftParameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityListQueriedCallback
Methods
onCommunityListQueried
public onCommunityListQueriedParameters
| Name | Type | Description |
|---|---|---|
| communityList | ArrayList<ZIMCommunity> | Community list. |
| nextFlag | long | Next query community list flag. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityNameUpdatedCallback
Methods
onCommunityNameUpdated
public onCommunityNameUpdatedParameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| communityName | String | Community name. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityAvatarUrlUpdatedCallback
Methods
onCommunityAvatarUrlUpdated
public onCommunityAvatarUrlUpdatedParameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| communityAvatarUrl | String | Community avatar URL. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityNoticeUpdatedCallback
Methods
onCommunityNoticeUpdated
public onCommunityNoticeUpdatedParameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| communityNotice | String | Community notice. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityAttributesOperatedCallback
Methods
onCommunityAttributesOperated
Parameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| errorKeys | ArrayList<String> | Error keys. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityNotificationStatusSetCallback
Methods
onCommunityNotificationStatusSet
Parameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityInfoQueriedCallback
Methods
onCommunityInfoQueried
public onCommunityInfoQueriedParameters
| Name | Type | Description |
|---|---|---|
| communityInfo | ZIMCommunityFullInfo | Community information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityUsersInvitedCallback
Methods
onCommunityUsersInvited
public onCommunityUsersInvitedParameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| errorUserList | ArrayList<ZIMErrorUserInfo> | The error userID list |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityMembersKickedCallback
Methods
onCommunityMembersKicked
public onCommunityMembersKickedParameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| errorUserList | ArrayList<ZIMErrorUserInfo> | The error userID list |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityMemberRoleUpdatedCallback
Methods
onCommunityMemberRoleUpdated
public onCommunityMemberRoleUpdatedParameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| forUserID | String | The user ID of the target user. |
| memberRole | int | member role value |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityOwnerTransferredCallback
Methods
onCommunityOwnerTransferred
public onCommunityOwnerTransferredParameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| toUserID | String | The user ID of the new community owner. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityMemberListQueriedCallback
Methods
onCommunityMemberListQueried
public onCommunityMemberListQueriedParameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| memberList | ArrayList<ZIMCommunityMemberInfo> | Community member list. |
| nextFlag | long | Anchor for the next community member list query. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityMembersQueriedCallback
Methods
onCommunityMembersQueried
public onCommunityMembersQueriedParameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| memberList | ArrayList<ZIMCommunityMemberInfo> | List of queried community members. |
| errorUserList | ArrayList<ZIMErrorUserInfo> | List of users that failed to be queried. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityChannelCreatedCallback
Methods
onCommunityChannelCreated
public onCommunityChannelCreatedParameters
| Name | Type | Description |
|---|---|---|
| channelInfo | ZIMCommunityChannelFullInfo | Community channel information. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityChannelDismissedCallback
Methods
onCommunityChannelDismissed
public onCommunityChannelDismissedParameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| channelID | String | Community channel ID |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityChannelNameUpdatedCallback
Methods
onCommunityChannelNameUpdated
Parameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| channelID | String | Community channel ID |
| channelName | String | Community channel name. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityChannelAvatarUrlUpdatedCallback
Methods
onCommunityChannelAvatarUrlUpdated
Parameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| channelID | String | Community channel ID |
| channelAvatarUrl | String | Community avatar URL. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityChannelNoticeUpdatedCallback
Methods
onCommunityChannelNoticeUpdated
Parameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| channelID | String | Community channel ID |
| channelNotice | String | Community channel notice. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityChannelAttributesOperatedCallback
Methods
onCommunityChannelAttributesOperated
Parameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| channelID | String | Community channel ID. |
| errorKeys | ArrayList<String> | Error keys. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityChannelsInfoQueriedCallback
Methods
onCommunityChannelsInfoQueried
Parameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| channelInfos | ArrayList<ZIMCommunityChannelFullInfo> | List of queried community channels. |
| errorChannelIDs | ArrayList<String> | List of channel IDs that failed to be queried. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityChannelListQueriedCallback
Methods
onCommunityChannelListQueried
Parameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| channelList | ArrayList<ZIMCommunityChannel> | Community channel list. |
| nextFlag | long | Anchor for the next channel list query. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityMembersMutedCallback
Methods
onCommunityMembersMuted
public onCommunityMembersMutedParameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| channelID | String | The channel ID. Empty means muted at the community level. |
| isMute | boolean | Whether to mute the members. |
| errorUserList | ArrayList<ZIMErrorUserInfo> | List of users that failed to be muted. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
ZIMCommunityChannelsMutedCallback
Methods
onCommunityChannelsMuted
public onCommunityChannelsMutedParameters
| Name | Type | Description |
|---|---|---|
| communityID | String | Community ID. |
| isMute | boolean | Whether to mute the channels. |
| errorChannelIDs | ArrayList<String> | List of channel IDs that failed to be muted. |
| errorInfo | ZIMError | Error code information, used to obtain the result of the interface call. code is 0 for success, and non-0 for failure. When an interface call fails, developers should check the error code documentation on the official website for solutions. |
