Package io.rong.imlib.model
        Class BlockedMessageInfo
- 
                    
                    - All Implemented Interfaces:
 
 public class BlockedMessageInfoInformation about messages containing sensitive words being blocked 
- yanke on 2021/7/12 
 
- 
                
                    
                    - 
                                
                            
                                Field SummaryFields Modifier and Type Field Description public final static Creator<BlockedMessageInfo>CREATORpublic ConversationTypeconversationTypepublic StringtargetIdpublic StringchannelIdpublic StringblockMsgUIdpublic MessageBlockTypetypepublic Stringextrapublic intsourceTypepublic StringsourceContent
 - 
                                
                            
                                Method SummaryModifier and Type Method Description ConversationTypegetConversationType()Retrieves the conversation type of the conversation where the blocked message is located. StringgetTargetId()Retrieves the conversation ID of the session where the intercepted message is located. StringgetChannelId()StringgetBlockMsgUId()Retrieves the unique ID of the intercepted message. MessageBlockTypegetType()Retrieves the reason why a message was blocked. StringgetExtra()Retrieves additional information about the blocked message. intgetSourceType()voidsetSourceType(int sourceType)StringgetSourceContent()voidsetSourceContent(String sourceContent)static BlockedMessageInfoobtain(ConversationType conversationType, String targetId, String blockMsgUId, MessageBlockType type, String extra)static BlockedMessageInfoobtain(ConversationType conversationType, String targetId, String blockMsgUId, MessageBlockType type, String channelId, String extra)static BlockedMessageInfoobtain(ConversationType conversationType, String targetId, String blockMsgUId, MessageBlockType type, String channelId, String extra, int sourceType, String sourceContent)intdescribeContents()voidwriteToParcel(Parcel dest, int flags)StringtoString()- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        getConversationTypeConversationType getConversationType() Retrieves the conversation type of the conversation where the blocked message is located. - Returns:
- The conversation type of the conversation where the blocked message is located. 
 
 - 
                                        getTargetIdString getTargetId() Retrieves the conversation ID of the session where the intercepted message is located. - Returns:
- The conversation ID of the session where the intercepted message is located. 
 
 - 
                                        getChannelIdString getChannelId() 
 - 
                                        getBlockMsgUIdString getBlockMsgUId() Retrieves the unique ID of the intercepted message. - Returns:
- The unique ID of the intercepted message. 
 
 - 
                                        getTypeMessageBlockType getType() Retrieves the reason why a message was blocked. MessageBlockType - Returns:
- Indicates the reason for the block. 
 
 - 
                                        getExtraString getExtra() Retrieves additional information about the blocked message. - Returns:
- Additional information about the blocked message. 
 
 - 
                                        getSourceTypeint getSourceType() 
 - 
                                        setSourceTypevoid setSourceType(int sourceType) 
 - 
                                        getSourceContentString getSourceContent() 
 - 
                                        setSourceContentvoid setSourceContent(String sourceContent) 
 - 
                                        obtainstatic BlockedMessageInfo obtain(ConversationType conversationType, String targetId, String blockMsgUId, MessageBlockType type, String extra) 
 - 
                                        obtainstatic BlockedMessageInfo obtain(ConversationType conversationType, String targetId, String blockMsgUId, MessageBlockType type, String channelId, String extra) 
 - 
                                        obtainstatic BlockedMessageInfo obtain(ConversationType conversationType, String targetId, String blockMsgUId, MessageBlockType type, String channelId, String extra, int sourceType, String sourceContent) 
 - 
                                        describeContentsint describeContents() 
 - 
                                        writeToParcelvoid writeToParcel(Parcel dest, int flags) 
 - 
                                        toStringString toString() 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-