get My Push Tokens By Token
fun SendbirdChat.getMyPushTokensByToken(token: String?, type: PushTokenType, handler: ResultHandler<MyPushTokensResult>?)
fun SendbirdChat.HMS.getMyPushTokensByToken(token: String, type: PushTokenType, handler: ResultHandler<MyPushTokensResult>?)
Requests push tokens of current user from given token. The result is passed to handler
.
Since
4.15.0
Parameters
token
Token to get next push tokens. If token is null
, the result will be passed from the beginning.
type
PushTokenType. Refer to PushTokenType.
handler
Callback handler.
suspend fun SendbirdChat.getMyPushTokensByToken(token: String?, type: PushTokenType): MyPushTokensResult
suspend fun SendbirdChat.HMS.getMyPushTokensByToken(token: String, type: PushTokenType): MyPushTokensResult
Deprecated
As of 4.17.0, replaced with awaitGetMyPushTokensByToken(token, type).
Replace with
awaitGetMyPushTokensByToken(token, type)
Content copied to clipboard
Requests push tokens of current user from given token. The result is passed to handler
.
Since
4.15.0
Parameters
token
Token to get next push tokens. If token is null
, the result will be passed from the beginning.
type
PushTokenType. Refer to PushTokenType.