removeTokenStatusListener
Call the removeTokenStatusListener API to remove the token status listener when the activity gets destroyed.
Method signature
copy
public void removeTokenStatusListener(@NotNull TokenStatusListener tokenStatusListener)Request parameters
Item | Type | Description | Required |
tokenStatusListener | TokenStatusListener | The instance of the token status listener to be removed. | Required |
Response parameters
N/A
Sample
copy
override fun onDestroy() {
super.onDestroy()
ACTapManager.getInstance(application).removeTokenStatusListener(this)
}