Click or drag to resize

KeyEventManagerRegisterKeyEvent Method

Register a key event.

Namespace:  IBM.Watson.DeveloperCloud.Utilities
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool RegisterKeyEvent(
	KeyCode key,
	KeyModifiers modifiers,
	string eventType
)

Parameters

key
Type: KeyCode
The KeyCode of the key.
modifiers
Type: IBM.Watson.DeveloperCloud.UtilitiesKeyModifiers
KeyCode modifiers
eventType
Type: SystemString
The event to send.

Return Value

Type: Boolean
True is returned on success.
See Also