removeActivateStatusListener
Call the removeActivateStatusListener API to remove the activation status listener when the activity gets destroyed.
Note: The corresponding registration methods are
setActivateStatusListenerandaddActivateStatusListener. The listener is matched and removed by object reference. If the specified listener was never added, this method silently does nothing.
Method signature
copy
public void removeActivateStatusListener(ActivateStatusListener activateStatusListener)Request parameters
Item | Type | Description | Required |
activateStatusListener | ActivateStatusListener | The activation status listener instance to be removed. | Yes |
Response parameters
N/A
Sample
copy
override fun onDestroy() {
super.onDestroy()
ACTapManager.getInstance(application).removeActivateStatusListener(this)
}