I am wondering about what the difference in when and how to access a component after a product connected.
- One can either wait untilDJISDKManagerDelegate.productConnected and productChanged get called and then access the component
or wait for - DJISDKManagerDelegate.componentConnectedWithKey gets called, check for the key and then get the component from the product.
Can I safely assume, that when a product connected, all its components are connected as well?
Are there any advantages or disadvantages of any of the both methods above? Maybe different use cases?
|