summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLKeyboardEvent.h
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2016-05-25 08:44:23 -0400
committerJoel Fischer <joeljfischer@gmail.com>2016-05-25 08:44:23 -0400
commitfb8e9903a323acaf5fc78819bb3c203567542ab2 (patch)
treee40665103ac7db492e0a40e34cd92f3390defa55 /SmartDeviceLink/SDLKeyboardEvent.h
parentf7540a02262832e34c67b0953dd8a1804a046fea (diff)
downloadsdl_ios-fb8e9903a323acaf5fc78819bb3c203567542ab2.tar.gz
Shift files into root directory
Diffstat (limited to 'SmartDeviceLink/SDLKeyboardEvent.h')
-rw-r--r--SmartDeviceLink/SDLKeyboardEvent.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLKeyboardEvent.h b/SmartDeviceLink/SDLKeyboardEvent.h
new file mode 100644
index 000000000..f0d90530e
--- /dev/null
+++ b/SmartDeviceLink/SDLKeyboardEvent.h
@@ -0,0 +1,45 @@
+// SDLKeyboardEvent.h
+//
+
+
+#import "SDLEnum.h"
+
+/** Enumeration listing possible keyboard events.
+ *
+ * @since SmartDeviceLink 3.0
+ *
+ */
+@interface SDLKeyboardEvent : SDLEnum {
+}
+
++ (SDLKeyboardEvent *)valueOf:(NSString *)value;
++ (NSArray *)values;
+
+/** The use has pressed the keyboard key (applies to both SINGLE_KEYPRESS and RESEND_CURRENT_ENTRY modes).
+ *
+ */
++ (SDLKeyboardEvent *)KEYPRESS;
+
+/** The User has finished entering text from the keyboard and submitted the entry.
+ *
+ */
+
++ (SDLKeyboardEvent *)ENTRY_SUBMITTED;
+
+/** The User has pressed the HMI-defined "Cancel" button.
+ *
+ */
++ (SDLKeyboardEvent *)ENTRY_CANCELLED;
+
+
+/** The User has not finished entering text and the keyboard is aborted with the event of higher priority.
+ *
+ */
++ (SDLKeyboardEvent *)ENTRY_ABORTED;
+
+/**
+ * @since SDL 4.0
+ */
++ (SDLKeyboardEvent *)ENTRY_VOICE;
+
+@end