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

How to turn on NIR Illumination (aka Infrared Spotlight) on M4T

Open petered opened this issue 2 months ago • 1 comments

I see in DJI Pilot 2 on the M4T you can turn on the Infrared spotlight by going (Night Scene Mode ON, zooming in at 7x or more).

Question: How do you do this in the SDK? I just don't see what Key I would use to turn it on. I've found CameraNightSceneMode but nothing that seems like it would control the infrared spotlight.

petered avatar Oct 21 '25 19:10 petered

Agent comment from YIGUI LIU in Zendesk ticket #160138:

Dear Developer,

The key for the infrared fill light is: CameraKey.KeyLaserFillLightEnabled.

For more explanations, please refer to the API documentation: https://developer.dji.com/api-reference-v5/android-api/Components/IKeyManager/Key_Camera_CameraKey.html?search=keylaserfilllightenabled&i=0&#key_camera_enablelaserfilllight_inline

Best Regards, DJI Innovations SDK Technical Support Team

°°°

dji-dev avatar Oct 22 '25 03:10 dji-dev