+ /// <param name="text">The specific data to be received from the input panel.</param>
+ /// <since_tizen> 5 </since_tizen>
+ public void GetInputPanelUserData(out string text)
+ {
+ Interop.InputMethodContext.InputMethodContext_GetInputPanelUserData(swigCPtr, out text);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ /// <summary>
+ /// Gets the state of the current active input panel.
+ /// </summary>
+ /// <returns>The state of the input panel.</returns>
+ /// <since_tizen> 5 </since_tizen>
+ public InputMethodContext.State GetInputPanelState()
+ {
+ InputMethodContext.State ret = (InputMethodContext.State)Interop.InputMethodContext.InputMethodContext_GetInputPanelState(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ /// <summary>
+ /// Sets the return key on the input panel to be visible or invisible.<br/>
+ /// The default value is true.
+ /// </summary>
+ /// <param name="visible">True if the return key is visible (enabled), false otherwise.</param>
+ /// <since_tizen> 5 </since_tizen>
+ public void SetReturnKeyState(bool visible)
+ {
+ Interop.InputMethodContext.InputMethodContext_SetReturnKeyState(swigCPtr, visible);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ /// <summary>
+ /// Enables to show the input panel automatically when focused.
+ /// </summary>
+ /// <param name="enabled">If true, the input panel will be shown when focused.</param>
+ /// <since_tizen> 5 </since_tizen>
+ public void AutoEnableInputPanel(bool enabled)
+ {
+ Interop.InputMethodContext.InputMethodContext_AutoEnableInputPanel(swigCPtr, enabled);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ /// <summary>
+ /// Shows the input panel.
+ /// </summary>
+ /// <since_tizen> 5 </since_tizen>
+ public void ShowInputPanel()
+ {
+ Interop.InputMethodContext.InputMethodContext_ShowInputPanel(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ /// <summary>
+ /// Hides the input panel.
+ /// </summary>
+ /// <since_tizen> 5 </since_tizen>
+ public void HideInputPanel()
+ {
+ Interop.InputMethodContext.InputMethodContext_HideInputPanel(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ /// <summary>
+ /// Gets the keyboard type.<br/>
+ /// The default keyboard type is SoftwareKeyboard.
+ /// </summary>
+ /// <returns>The keyboard type.</returns>
+ /// <since_tizen> 5 </since_tizen>
+ public InputMethodContext.KeyboardType GetKeyboardType()
+ {
+ InputMethodContext.KeyboardType ret = (InputMethodContext.KeyboardType)Interop.InputMethodContext.InputMethodContext_GetKeyboardType(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ /// <summary>
+ /// Gets the current language locale of the input panel.<br/>
+ /// For example, en_US, en_GB, en_PH, fr_FR, and so on.
+ /// </summary>
+ /// <returns>The current language locale of the input panel.</returns>
+ /// <since_tizen> 5 </since_tizen>
+ public string GetInputPanelLocale()
+ {
+ string ret = Interop.InputMethodContext.InputMethodContext_GetInputPanelLocale(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ /// <summary>
+ /// Sets the allowed MIME Type to deliver to the input panel. <br/>
+ /// For example, string mimeType = "text/plain,image/png,image/gif,application/pdf";
+ /// </summary>
+ /// <param name="mimeType">The allowed MIME type.</param>
+ /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void SetMIMEType(string mimeType)
+ {
+ Interop.InputMethodContext.InputMethodContext_SetMIMEType(swigCPtr, mimeType);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ internal static global::System.Runtime.InteropServices.HandleRef getCPtr(InputMethodContext obj)
+ {
+ return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
+ }
+
+ internal InputMethodContext(InputMethodContext inputMethodContext) : this(Interop.InputMethodContext.new_InputMethodContext__SWIG_1(InputMethodContext.getCPtr(inputMethodContext)), true)
+ {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ internal InputMethodContext Assign(InputMethodContext inputMethodContext)
+ {
+ InputMethodContext ret = new InputMethodContext(Interop.InputMethodContext.InputMethodContext_Assign(swigCPtr, InputMethodContext.getCPtr(inputMethodContext)), false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ internal static InputMethodContext DownCast(BaseHandle handle)
+ {
+ InputMethodContext ret = new InputMethodContext(Interop.InputMethodContext.InputMethodContext_DownCast(BaseHandle.getCPtr(handle)), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ internal void ApplyOptions(InputMethodOptions options)
+ {
+ Interop.InputMethodContext.InputMethodContext_ApplyOptions(swigCPtr, InputMethodOptions.getCPtr(options));
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ internal void AllowTextPrediction(bool prediction)
+ {
+ Interop.InputMethodContext.InputMethodContext_AllowTextPrediction(swigCPtr, prediction);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ internal bool IsTextPredictionAllowed()
+ {
+ bool ret = Interop.InputMethodContext.InputMethodContext_IsTextPredictionAllowed(swigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ internal ActivatedSignalType ActivatedSignal()
+ {
+ ActivatedSignalType ret = new ActivatedSignalType(Interop.InputMethodContext.InputMethodContext_ActivatedSignal(swigCPtr), false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ internal KeyboardEventSignalType EventReceivedSignal()
+ {
+ KeyboardEventSignalType ret = new KeyboardEventSignalType(Interop.InputMethodContext.InputMethodContext_EventReceivedSignal(swigCPtr), false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ internal StatusSignalType StatusChangedSignal()
+ {
+ StatusSignalType ret = new StatusSignalType(Interop.InputMethodContext.InputMethodContext_StatusChangedSignal(swigCPtr), false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ internal KeyboardResizedSignalType ResizedSignal()
+ {
+ KeyboardResizedSignalType ret = new KeyboardResizedSignalType(Interop.InputMethodContext.InputMethodContext_ResizedSignal(swigCPtr), false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ internal LanguageChangedSignalType LanguageChangedSignal()
+ {
+ LanguageChangedSignalType ret = new LanguageChangedSignalType(Interop.InputMethodContext.InputMethodContext_LanguageChangedSignal(swigCPtr), false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ internal KeyboardTypeSignalType KeyboardTypeChangedSignal()
+ {
+ KeyboardTypeSignalType ret = new KeyboardTypeSignalType(Interop.InputMethodContext.InputMethodContext_KeyboardTypeChangedSignal(swigCPtr), false);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ internal ContentReceivedSignalType ContentReceivedSignal()