1 package com.netease.nimlib.sdk.msg.params;
3 import android.text.TextUtils;
5 import java.io.Serializable;
29 private String updateContent;
43 this.operationType = operationType;
53 this.operationType = operationType;
54 this.updateContent = updateContent;
72 this.operationType = operationType;
91 this.updateContent = updateContent;
96 return "NIMMessageAIStreamStopParams{" +
97 "operationType=" + operationType +
98 ", updateContent=" + updateContent +
103 if (operationType == null){
115 public static class Builder {
117 private String updateContent;
125 this.operationType = operationType;
134 public Builder updateContent(String updateContent) {
135 this.updateContent = updateContent;
NIMMessageAIStreamStopOpType getOperationType()
获取停止流式消息的操作类型
String getUpdateContent()
获取更新的消息内容
NIMMessageAIStreamStopParams类
void setUpdateContent(String updateContent)
设置更新的消息内容 注意:此内容仅当operationType为NIM_MESSAGE_AI_STREAM_STOP_OP_UPDATE时有效 ...
NIMMessageAIStreamStopParams(NIMMessageAIStreamStopOpType operationType, String updateContent)
完整参数的构造函数
NIMMessageAIStreamStopOpType枚举类
NIM_MESSAGE_AI_STREAM_STOP_OP_UPDATE
停止并更新消息内容 值为2
void setOperationType(NIMMessageAIStreamStopOpType operationType)
设置停止流式消息的操作类型
NIMMessageAIStreamStopParams(NIMMessageAIStreamStopOpType operationType)
带操作类型的构造函数