getProperty method
Piggyback Capture's getProperty and use parameters and interfaces unique to iOS connections
Implementation
@override
/// Piggyback Capture's getProperty and use parameters and interfaces unique to iOS connections
Future<CaptureProperty> getProperty(
int clientOrDeviceHandle, CaptureProperty property) async {
final IosTransportHandle transportHandle = IosTransportHandle();
final Property transportProperty = propertyFromCaptureProperty(property);
transportHandle.value = clientOrDeviceHandle;
try {
final Property response =
await transport!.getProperty(transportHandle, transportProperty);
final CaptureProperty captureProperty =
capturePropertyFromProperty(response);
return captureProperty;
} on PlatformException catch (ex) {
throw exceptionHelper('getProperty', 1, ex);
} catch (ex) {
throw exceptionHelper('getProperty', 0, ex);
}
}