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

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

            return(display.ApplyTo(this));
        }