Class: Toybox::WatchUi::KeyEvent
ハードキーが押された時に InputDelegate に送られるオブジェクト
Instance Method Summary
- (Object) getKey : Use getKey() to get the key value of this event.
- (Object) getType : Get the type of click event.
- (KeyEvent) initialize(keyValue, keyPressType) constructor : Constructor.
Constructor Details
(KeyEvent) initialize(keyValue, keyPressType) : コンストラクタ
- Parameters
- keyValue : A Toybox.WatchUi.KEY_* value
- keyPressType : The PRESS_TYPE for this event (since 1.1.2)
- Since : 1.0.0
Instance Method Details
(Object) getKey : Use getKey() to get the key value of this event.
- Returns : A Toybox.WatchUi.KEY_* value
- Since : 1.0.0
Get the type of click event.
Returns:
The WATCH_UI.PRESS_TYPE_* value
Since:
1.1.2
Generated on Thu Feb 18 15:00:18 2016 by yard 0.8.7.6 (ruby-2.2.1).
最終更新:2016年03月11日 19:07