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

            return(display.ApplyTo(this));
        }
예제 #2
0
파일: Camera.cs 프로젝트: yourina/TizenFX
        private CameraError SetDisplay(Display display)
        {
            if (display == null)
            {
                return(CameraDisplay.SetTarget(GetHandle(), DisplayType.None, IntPtr.Zero));
            }

            return(display.ApplyTo(this));
        }