Mobile-SDK-Android-V5
Mobile-SDK-Android-V5 copied to clipboard
Cancel Listener Bug
Hi DJI,
I try to add a listener to thermal temperature point and I can successfuly get the results:
But I need to cancel this listener when user disable this feature in the app. I use this code but it does not cancel the listener :
KeyManager.getInstance().cancelListen(CameraKey.KeyThermalSpotMetersureTemperature)
and after calling this method I still receive the results. how can I completely remove a listener ?