manage Rc Accessory
open fun manageRcAccessory(@NonNull context: Context, @NonNull rcAccessory: UsbAccessory)
Content copied to clipboard
Commands GroundSDK to manage the given remote controller USB accessory.
Client application is responsible to obtain the USB accessory in question using the appropriate Android API and also to request proper permission to use the latter from Android SDK. This is usually done using an activity registered with the ACTION_USB_ACCESSORY_ATTACHED intent action filter. Please refer to Android USB accessory guide for further documentation.
Parameters
context
an android context
rc Accessory
android USB RC accessory to manage