- Each component will be online after the aircraft has connected to the MSDK.
- In MSDK v4, we can use the onComponentChange callback from the SDKManagerCallback to know if the component is connceted.
- In MSDK v5, we can setup a listener to each component's KeyConnection, true means connceted, false or null means disconnected.
- ProductKey.KeyConnection means if the aircraft is connected.
- AirLink.KeyConnection means if the airlink is connected.
- Camera.KeyConnection means if the camera is connected.
- Gimbal.KeyConnection means if the gimbal is connected.
- FlightController.KeyConnection means if the flight controller is connected.
- RemoteController.KeyConnection means if the remote controller is connected.
- Battery.KeyConnection means if the battery is connected.
How to know each component is connected?
Followclose
Comments
0 comments
Please sign in to leave a comment.