1 package com.netease.nimlib.sdk.v2.chatroom.params;
3 import android.text.TextUtils;
14 private final String elementKey;
20 private final String elementValue;
33 private String elementOwnerAccountId;
41 this.elementKey = elementKey;
42 this.elementValue = elementValue;
46 this.elementKey = null;
47 this.elementValue = null;
89 return elementOwnerAccountId;
98 this.elementOwnerAccountId = elementOwnerAccountId;
106 if(TextUtils.isEmpty(elementKey)){
110 if(TextUtils.isEmpty(elementValue)){
String getElementValue()
获取元素的值
String getElementKey()
获取元素的唯一key
void setTransient(boolean isTransient)
设置元素是否为瞬态的
V2NIMChatroomQueueOfferParams(String elementKey, String elementValue)
构造函数
void setElementOwnerAccountId(String elementOwnerAccountId)
设置元素属于的账号
boolean isValid()
判断参数是否有效
boolean isTransient()
判断元素是否为瞬态的
String getElementOwnerAccountId()
获取元素属于的账号