setProperty method

Future<CaptureProperty> setProperty(
  1. CaptureProperty property
)

Request to update a capture property for a given device.

Implementation

Future<CaptureProperty> setProperty(CaptureProperty property) async {
  if (transport != null) {
    return transport!.setProperty(clientOrDeviceHandle ?? 0, property);
  }

  throw CaptureException(
      SktErrors.ESKT_NOTINITIALIZED, 'Transport is not initialized');
}