类 EMSetPushBindingInfo
java.lang.Object
com.easemob.im.api.model.EMSetPushBindingInfo
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-19T14:46:11.706022+08:00[Asia/Shanghai]")
public class EMSetPushBindingInfo
extends Object
EMSetPushBindingInfo
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明deviceToken(String deviceToken) booleanstatic EMSetPushBindingInfoCreate an instance of EMSetPushBindingInfo given an JSON string移动端设备标识,服务端用于识别设备,进行推送信息的绑定和解绑推送设备 token。推送证书名称。inthashCode()notifierName(String notifierName) voidsetDeviceId(String deviceId) voidsetDeviceToken(String deviceToken) voidsetNotifierName(String notifierName) toJson()Convert an instance of EMSetPushBindingInfo to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
构造器详细资料
-
EMSetPushBindingInfo
public EMSetPushBindingInfo()
-
-
方法详细资料
-
deviceId
-
getDeviceId
移动端设备标识,服务端用于识别设备,进行推送信息的绑定和解绑- 返回:
- deviceId
-
setDeviceId
-
notifierName
-
getNotifierName
推送证书名称。 - 传入的证书名称必需与你在环信控制台的添加推送证书页面上填写的证书名称一致,否则推送失败 - 若 notifier_name 为空,表示解除当前设备与所有推送信息的绑定- 返回:
- notifierName
-
setNotifierName
-
deviceToken
-
getDeviceToken
推送设备 token。错误的信息会推送失败,且服务端自动解除绑定。若 device_token 为空,则会解除当前用户当前设备 ID 和当前证书名的绑定- 返回:
- deviceToken
-
setDeviceToken
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- 参数:
jsonElement- JSON Element- 抛出:
IOException- if the JSON Element is invalid with respect to EMSetPushBindingInfo
-
fromJson
Create an instance of EMSetPushBindingInfo given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMSetPushBindingInfo
- 抛出:
IOException- if the JSON string is invalid with respect to EMSetPushBindingInfo
-
toJson
Convert an instance of EMSetPushBindingInfo to an JSON string- 返回:
- JSON string
-