Class InputMethodContext.EventData

Definition

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

This structure is used to pass on data from the IMF regarding predictive text.

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

Constructors

View Source

EventData()

The default constructor.

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

EventData(InputMethodContext.EventType, String, Int32, Int32)

The constructor.

Declaration
C#
Copy
public EventData(InputMethodContext.EventType aEventName, string aPredictiveString, int aCursorOffset, int aNumberOfChars)
Parameters
Type Name Description
InputMethodContext.EventType aEventName

The name of the event from the IMF.

System.String aPredictiveString

The pre-edit or the commit string.

Int32 aCursorOffset

Start the position from the current cursor position to start deleting characters.

Int32 aNumberOfChars

The number of characters to delete from the cursorOffset.

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

CursorOffset

The start position from the current cursor position to start deleting characters.

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

EventName

The name of the event from the IMF.

Declaration
C#
Copy
public InputMethodContext.EventType EventName { get; set; }
Property Value
Type Description
InputMethodContext.EventType
API Level: 5
View Source

NumberOfChars

The number of characters to delete from the cursorOffset.

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

PredictiveString

The pre-edit or the commit string.

Declaration
C#
Copy
public string PredictiveString { get; set; }
Property Value
Type Description
System.String
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