Mobile-SDK-Android-V5 icon indicating copy to clipboard operation
Mobile-SDK-Android-V5 copied to clipboard

Cancel Listener Bug

Open PeimanAtaeiJPDroni opened this issue 6 months ago • 4 comments

Hi DJI,

I try to add a listener to thermal temperature point and I can successfuly get the results:

2

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 ?

PeimanAtaeiJPDroni avatar Jul 30 '24 14:07 PeimanAtaeiJPDroni