get Token

open fun getToken(agcpId: String = "", action: (String) -> Unit)

method to get Messaging Token

Parameters

agcpId

used for Huawei Messaging Service, by default empty String

action

listener for when token is get

Sources

Link copied to clipboard