summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLInteractionMode.h
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLInteractionMode.h')
-rw-r--r--SmartDeviceLink/SDLInteractionMode.h30
1 files changed, 4 insertions, 26 deletions
diff --git a/SmartDeviceLink/SDLInteractionMode.h b/SmartDeviceLink/SDLInteractionMode.h
index 442d4f8d7..8a1671459 100644
--- a/SmartDeviceLink/SDLInteractionMode.h
+++ b/SmartDeviceLink/SDLInteractionMode.h
@@ -9,37 +9,19 @@
*
* @since SDL 1.0
*/
-@interface SDLInteractionMode : SDLEnum {
-}
-
-/**
- * @abstract SDLInteractionMode
- * @param value The value of the string to get an object for
- * @return SDLInteractionMode
- */
-+ (SDLInteractionMode *)valueOf:(NSString *)value;
-
-/**
- * @abstract store all possible SDLInteractionMode values
- * @return an array with all possible SDLInteractionMode values inside
- */
-+ (NSArray *)values;
+typedef SDLEnum SDLInteractionMode NS_EXTENSIBLE_STRING_ENUM;
/**
* @abstract Interaction Mode : Manual Only
* @discussion This mode causes the interaction to occur only on the display, meaning the choices are presented and selected only via the display. Selections are viewed with the SEEKRIGHT, SEEKLEFT, TUNEUP, TUNEDOWN buttons. User's selection is indicated with the OK button
- *
- * @return Current Interaction Mode with value of *MANUAL_ONLY*
*/
-+ (SDLInteractionMode *)MANUAL_ONLY;
+extern SDLInteractionMode const SDLInteractionModeManualOnly;
/**
* @abstract Interaction Mode : VR Only
* @discussion This mode causes the interaction to occur only through TTS and VR. The user is prompted via TTS to select a choice by saying one of the choice's synonyms
- *
- * @return Current Interaction Mode with value of *VR_ONLY*
*/
-+ (SDLInteractionMode *)VR_ONLY;
+extern SDLInteractionMode const SDLInteractionModeVrOnly;
/**
* @abstract Interaction Mode : Manual & VR
@@ -48,9 +30,5 @@
* If the user views selections as described in MANUAL_ONLY mode, the interaction becomes strictly, and irreversibly, a MANUAL_ONLY interaction (i.e. the VR session is cancelled, although the interaction itself is still in progress). If the user interacts with the VR session in any way (e.g. speaks a phrase, even if it is not a recognized choice), the interaction becomes strictly, and irreversibly, a VR_ONLY interaction (i.e. the MANUAL_ONLY mode forms of interaction will no longer be honored)
*
* The TriggerSource parameter of the *PerformInteraction* response will indicate which interaction mode the user finally chose to attempt the selection (even if the interaction did not end with a selection being made)
- *
- * @return Current Interaction Mode with value of *BOTH*
*/
-+ (SDLInteractionMode *)BOTH;
-
-@end
+extern SDLInteractionMode const SDLInteractionModeBoth;