[NUI][API11] Add a WebView API for notifying orientation change.
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / WebView / WebView.cs
index 8057256..0d9f11b 100755 (executable)
@@ -1766,6 +1766,16 @@ namespace Tizen.NUI.BaseComponents
         }
 
         /// <summary>
+        /// Change orientation.
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public void ChangeOrientation(Window.WindowOrientation orientation)
+        {
+            Interop.WebView.ChangeOrientation(SwigCPtr, (int)orientation);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
         /// Adds custom header.
         /// </summary>
         /// <param name="name">The name of custom header</param>