openDevice method
Piggyback Capture's openDevice and use parameters and interfaces unique to iOS connections
Implementation
@override
/// Piggyback Capture's openDevice and use parameters and interfaces unique to iOS connections
Future<int?> openDevice(int clientHandle, String guid) async {
final IosTransportHandle transportHandle = IosTransportHandle();
transportHandle.value = clientHandle;
try {
final IosTransportHandle handle =
await transport!.openDevice(transportHandle, guid);
return handle.value;
} on PlatformException catch (ex) {
throw exceptionHelper('openDevice', 1, ex);
} catch (ex) {
throw exceptionHelper('openDevice', 0, ex);
}
}