agora_chat_SDK 1.0.6
agora java chat SDK
Public 成员函数 | 所有成员列表
io.agora.push.PushListener类 参考abstract

Public 成员函数

abstract void onError (PushType pushType, long errorCode)
 
boolean isSupportPush (PushType pushType, PushConfig pushConfig)
 
String getPushToken (PushType pushType, PushConfig pushConfig)
 

详细描述

用于设置自定义的推送设置。

成员函数说明

◆ getPushToken()

String io.agora.push.PushListener.getPushToken ( PushType  pushType,
PushConfig  pushConfig 
)

获取 FCM 设备 token。

参数
pushType推送类型。
pushConfig推送配置。
返回
返回要注册的设备 token。

该类的文档由以下文件生成: