hyphenate_SDK3.0 4.0.0
hyphenate java IM SDK
Public Member Functions | List of all members
com.hyphenate.push.PushListener Class Referenceabstract

Public Member Functions

abstract void onError (EMPushType pushType, long errorCode)
 
boolean isSupportPush (EMPushType pushType, EMPushConfig pushConfig)
 
String getPushToken (EMPushType pushType, EMPushConfig pushConfig)
 

Detailed Description

The push settings class for customized push.

Member Function Documentation

◆ getPushToken()

String com.hyphenate.push.PushListener.getPushToken ( EMPushType  pushType,
EMPushConfig  pushConfig 
)

Gets the FCM device token.

Parameters
pushTypeThe push type.
pushConfigThe push configs.
Returns
Returns the device token to register.

The documentation for this class was generated from the following file: