onResult

abstract fun onResult(pushTokens: List<String>?, type: PushTokenType?, hasMore: Boolean, token: String?, e: SendbirdException?)

A callback for when push tokens are got.

Since

3.0.92

Parameters

pushTokens

My push token list. Maximum number of pushTokens is 100.

type

Push token type. PushTokenType.

hasMore

Flag that indicates there is more push tokens.

token

Token. If hasMore is true, push tokens can be fetched from this token. SendbirdChat.getMyPushTokensByToken.

e

null if no error.