private OnChangeISOClicked ( NSObject sender ) : void | ||
sender | NSObject | |
리턴 | void |
public void OnChangeISOClicked (NSObject sender)
{
var control = (UISlider)sender;
NSError error = null;
if (VideoDevice.LockForConfiguration (out error)) {
VideoDevice.LockExposure (AVCaptureDevice.ExposureDurationCurrent, control.Value, null);
VideoDevice.UnlockForConfiguration ();
} else {
Console.WriteLine ($"Could not lock device for configuration: {error}");
}
}