CameraError IDisplayable <CameraError> .ApplyEvasDisplay(DisplayType type, ElmSharp.EvasObject evasObject) { Debug.Assert(_disposed == false); ValidationUtil.ValidateEnum(typeof(DisplayType), type, nameof(type)); return(CameraDisplay.SetDisplay(GetHandle(), type, evasObject)); }
private CameraError SetDisplay(Display display) { if (display == null) { return(CameraDisplay.SetDisplay(GetHandle(), DisplayType.None, IntPtr.Zero)); } return(display.ApplyTo(this)); }