Class KeyManipulatorMetadata

Defines properties and message types for KeyManipulator.

Inherits properties and message types from InputManipulatorMetadata.

Property Types

See also PropertyType

Message Types

See also MessageType
KeyManipulatorMetadata.KeyPressedMessage

Occurs when Kanzi recognizes a key-pressed gesture. A key-pressed gesture occurs when Kanzi recognizes a key event that contains all the elements that compose that gesture.

Arguments: KeyManipulatorMetadata.KeyPressedMessageArguments

KeyManipulatorMetadata.KeyReleasedMessage

Occurs when Kanzi recognizes a key-released gesture. A key-released gesture occurs when Kanzi recognizes the release of one of the elements that compose that gesture.

Arguments: KeyManipulatorMetadata.KeyReleasedMessageArguments

KeyManipulatorMetadata.KeyCanceledMessage

Occurs when Kanzi recognizes a key-canceled gesture. A key-canceled gesture occurs when Kanzi recognizes that the user canceled a gesture.

Arguments: KeyManipulatorMetadata.KeyCanceledMessageArguments

Message Arguments

Message arguments classes define message arguments used for different message types. Each class defines a number of property types - arguments - together with getter and setter functions for them.

KeyManipulatorMetadata.KeyCanceledMessageArguments

KeyManipulatorMetadata.KeyPressedMessageArguments

IsRepeatProperty

Whether the key press is a repeat caused by the user holding down a keyboard key.

Example
local value = arguments:getIsRepeatProperty()
arguments:setIsRepeatProperty(value)

KeyManipulatorMetadata.KeyReleasedMessageArguments