getDevice method
@detail api @author dixing @brief Get the information of the specific device @param index Device index number, starting from 0. The index must be less than the return value of getCount{@link #ByteRTCDeviceCollection#getCount}. @param deviceName device name @param deviceID device ID @return - 0: Success. - !0: failure
Implementation
FutureOr<int> getDevice(
int index, NSString deviceName, NSString deviceID) async {
return await nativeCall(
'getDevice:DeviceName:DeviceID:', [index, deviceName, deviceID]);
}