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 : 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
System.Boolean aUpdate

True if the cursor position needs to be updated.

System.Int32 aCursorPosition

The new position of the cursor.

System.String aCurrentText

The current text string.

System.Boolean aPreeditResetRequired

Flag if preedit reset is required.

API Level: 5

Fields

View Source

disposed

A Flag to check if it is already disposed.

Declaration
C#
Copy
protected bool disposed
Field Value
Type Description
System.Boolean
API Level: 5
View Source

swigCMemOwn

The state if it owns memory

Declaration
C#
Copy
protected bool swigCMemOwn
Field Value
Type Description
System.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
System.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
System.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
System.Boolean
API Level: 5

Methods

View Source

Dispose()

The dispose pattern.

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

Dispose(DisposeTypes)

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

Declaration
C#
Copy
protected virtual void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type
API Level: 5
View Source

Finalize()

Releases the resource.

Declaration
C#
Copy
protected void Finalize()
API Level: 5

Implements

System.IDisposable