top

'Tizen::TV::Application::Window::VirtualMouse' class Reference
extends VirtualInputDevice

Public Functions

Protected Functions

override void Dispose ( bool disposing )
Protected implementation of Dispose pattern. More...

Public Functions

VirtualMouse(string deviceName)

   The class constructor

Parameters

deviceName
   The VirtualMouse device name.

Exceptions

System.InvalidOperationException
   Thrown if VirtualMouse device initialization fails.

Privilege Level

None

Privilege

Non-privilege

Version

4.4.0

void Move(int dx, int dy, int moveCount)

   Sends the mouse move event.

Parameters

dx
   distance in the x-direction
dy
   distance in the y-direction
moveCount
   move event generation count

Exceptions

System.ObjectDisposedException
   Thrown if VirtualMouse instance was already disposed

Privilege Level

None

Privilege

Non-privilege

Version

4.4.0

void Send(ButtonType button, ActionType buttonAction)

   Sends the mouse button click event.

Parameters

button
   The virtual mouse button type.
buttonAction
   The action to occur.

Exceptions

System.ObjectDisposedException
   Thrown if the VirtualMouse instance was already disposed

Privilege Level

None

Privilege

Non-privilege

Version

4.4.0

Protected Functions

override void Dispose(bool disposing)

   Protected implementation of Dispose pattern.

Parameters

disposing
   Flag: Has Dispose already been called?

Privilege Level

None

Privilege

Non-privilege

Version

4.4.0