Example #1
0
        private PlayerErrorCode SetDisplay(Display display)
        {
            if (display == null)
            {
                return(NativeDisplay.SetDisplay(Handle, PlayerDisplayType.None, IntPtr.Zero));
            }

            return(display.ApplyTo(this));
        }
Example #2
0
        private CameraError SetDisplay(Display display)
        {
            if (display == null)
            {
                return(CameraDisplay.SetTarget(GetHandle(), DisplayType.None, IntPtr.Zero));
            }

            return(display.ApplyTo(this));
        }