Public Member Functions | |
| boolean | isSupportPush (EMPushType pushType, EMPushConfig pushConfig) |
| String | getPushToken (EMPushType pushType, EMPushConfig pushConfig) |
The push settings class for customized push.
| String com.hyphenate.push.PushListener.getPushToken | ( | EMPushType | pushType, |
| EMPushConfig | pushConfig ) |
Gets the FCM device token.
| pushType | The push type. |
| pushConfig | The push configs. |
| boolean com.hyphenate.push.PushListener.isSupportPush | ( | EMPushType | pushType, |
| EMPushConfig | 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. |