Class InputMethodContext.CallbackData

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll
API Level:
5

Data required by the IMF from the callback.

C#
Copy
public class CallbackData : Disposable, IDisposable
Inheritance
System.Object
InputMethodContext.CallbackData
Implements
System.IDisposable

Constructors

View Source

CallbackData()

The default constructor.

Declaration
C#
Copy
public CallbackData()
API Level: 5
View Source

CallbackData(Boolean, Int32, String, Boolean)

The constructor.

Declaration
C#
Copy
public CallbackData(bool aUpdate, int aCursorPosition, string aCurrentText, bool aPreeditResetRequired)
Parameters
Type Name Description
Boolean aUpdate

True if the cursor position needs to be updated.

Int32 aCursorPosition

The new position of the cursor.

System.String aCurrentText

The current text string.

Boolean aPreeditResetRequired

Flag if preedit reset is required.

API Level: 5

Fields

View Source

swigCMemOwn

The state if it owns memory

Declaration
C#
Copy
[Obsolete("This has been deprecated in API9 and will be removed in API11. Use SwigCMemOwn that is declared in the parent class")] protected bool swigCMemOwn
Field Value
Type Description
Boolean
API Level: 5

Properties

View Source

CurrentText

The current text string.

Declaration
C#
Copy
public string CurrentText { get; set; }
Property Value
Type Description
System.String
API Level: 5
View Source

CursorPosition

The current cursor position.

Declaration
C#
Copy
public int CursorPosition { get; set; }
Property Value
Type Description
Int32
API Level: 5
View Source

PreeditResetRequired

Flags if the pre-edit reset is required.

Declaration
C#
Copy
public bool PreeditResetRequired { get; set; }
Property Value
Type Description
Boolean
API Level: 5
View Source

Update

The state if the cursor position needs to be updated.

Declaration
C#
Copy
public bool Update { get; set; }
Property Value
Type Description
Boolean
API Level: 5

Methods

View Source

Dispose(DisposeTypes)

You can override it to clean-up your own resources.

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type
Overrides
API Level: 5

Implements

System.IDisposable