AVCamManual.AVCamManualCameraViewController.OnChangeISOClicked C# (CSharp) 메소드

OnChangeISOClicked() 개인적인 메소드

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}");
			}
		}