- You can use GimbalKey.KeyConnection to listen the connection status of each gimbal index.
- You can add 3 listeners to different componentIndexType which includes LEFT, RIGHT and TOP, the initial value is null.
- When a gimbal has connected with a camera, the listener will return true, otherwise it will return false or null.
- The example code is shown below.
KeyManager.getInstance.listen(KeyTools.createKey(GimbalKey.KeyConnection,componentIndexType),this,callback)
Comments
0 comments
Please sign in to leave a comment.