setDeviceToken
abstract suspend fun setDeviceToken(credential: PushCredential, deviceToken: String, params: Map<String, Any>): Boolean
Register or update the device token. This is typically called when the device token changes.
Return
True if was successful, false otherwise.
Parameters
credential
The credential to register or update.
deviceToken
The device token.
params
Additional parameters.