getMyPushTokensByToken

suspend fun SendbirdChat.getMyPushTokensByToken(token: String?, type: PushTokenType): MyPushTokensResult
suspend fun SendbirdChat.HMS.getMyPushTokensByToken(token: String, type: PushTokenType): 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.


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.