claimInterface method

  1. @override
Future claimInterface(
  1. dynamic device,
  2. int interfaceNumber
)
override

Claims the interface of the device (by the number specified in configuration.interfaces)

Implementation

@override
Future claimInterface(dynamic device, int interfaceNumber) {
  return methodChannel.invokeMethod<bool>('claimInterface',
      [device, interfaceNumber]).then<void>((dynamic result) => result);
}