You could get the remote controller button status, and when it`s clicked, you could trigger your custom logic, the remote controller hardware status is as below.
https://developer.dji.com/api-reference/ios-api/Components/RemoteController/DJIRemoteController.html#djiremotecontroller_djirchardwarestate_inline
And the related part in the IOS MSDK sample is as below for your reference.
https://www.github.com/dji-sdk/Mobile-SDK-iOS/blob/master/Sample%20Code/ObjcSampleCode/DJISdkDemo/Demo/RemoteController/RCHardwareState/RCHardwareStateViewController.m
Comments
0 comments
Please sign in to leave a comment.