close method

  1. @override
Future<int> close(
  1. int handle
)
override

Piggyback Capture's close and use parameters and interfaces unique to iOS connections

Implementation

@override

/// Piggyback Capture's close and use parameters and interfaces unique to iOS connections
Future<int> close(int handle) async {
  final IosTransportHandle transportHandle = IosTransportHandle();
  transportHandle.value = handle;
  try {
    await transport!.close(transportHandle);
    return SktErrors.ESKT_NOERROR;
  } on PlatformException catch (ex) {
    throw exceptionHelper('closeClient', 1, ex);
  } catch (ex) {
    throw exceptionHelper('closeClient', 0, ex);
  }
}