getProperty method

Future<CaptureProperty> getProperty(
  1. CaptureProperty property
)

Request to retrieve a capture property from a given device.

Implementation

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

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