Chat SDK for Android v1.3.1
agora java chat SDK
|
Public Member Functions | |
boolean | isSupportPush (PushType pushType, PushConfig pushConfig) |
String | getPushToken (PushType pushType, PushConfig pushConfig) |
The push settings class for customized push.
String io.agora.push.PushListener.getPushToken | ( | PushType | pushType, |
PushConfig | pushConfig | ||
) |
Gets the FCM device token.
pushType | The push type. |
pushConfig | The push configs. |
boolean io.agora.push.PushListener.isSupportPush | ( | PushType | pushType, |
PushConfig | pushConfig | ||
) |
Determines whether a push type is supported. This function will be called multiple times, each time passing a pushType to the user to return a boolean value based on the pushType provided by the SDK, allowing the SDK to determine whether the client environment supports the push type. For example:
pushType | The push type. |
pushConfig | The push configurations. |