releaseInterface method

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

Returns a Future that resolves when a claimed interface is released from exclusive access

Implementation

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