summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Gluck <justin.gluck@livio.io>2019-07-12 09:50:38 -0400
committerJustin Gluck <justin.gluck@livio.io>2019-07-12 09:50:38 -0400
commit395af019bbc67a1f40438721357338060d2f92e3 (patch)
treef9dbcc01a9021bf58f4120453e704e9419eed894
parent2e76407a10b76455b294d6a60db5f89647fbe6bf (diff)
downloadsdl_ios-395af019bbc67a1f40438721357338060d2f92e3.tar.gz
adding enum values for navigation buttons
-rw-r--r--SmartDeviceLink/SDLButtonName.h76
-rw-r--r--SmartDeviceLink/SDLButtonName.m15
2 files changed, 91 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLButtonName.h b/SmartDeviceLink/SDLButtonName.h
index cb767ef35..572e0df0f 100644
--- a/SmartDeviceLink/SDLButtonName.h
+++ b/SmartDeviceLink/SDLButtonName.h
@@ -208,3 +208,79 @@ extern SDLButtonName const SDLButtonNameShuffle;
* Represents a Repeat button.
*/
extern SDLButtonName const SDLButtonNameRepeat;
+
+#pragma mark - Navigation Buttons
+/**
+ * Represents a Navigate to center button.
+ */
+extern SDLButtonName const SDLButtonNameNavCenter;
+
+/**
+ * Represents a Zoom in button.
+ */
+extern SDLButtonName const SDLButtonNameZoomIn;
+
+/**
+ * Represents a Zoom out button.
+ */
+extern SDLButtonName const SDLButtonNameZoomOut;
+
+/**
+ * Represents a Pan up button
+ */
+extern SDLButtonName const SDLButtonNamePanUP;
+
+/**
+ * Represents a Pan up/right button
+ */
+extern SDLButtonName const SDLButtonNamePanUpRight;
+
+/**
+ * Represents a Pan right button
+ */
+extern SDLButtonName const SDLButtonNamePanRight;
+
+/**
+ * Represents a Pan down/right button
+ */
+extern SDLButtonName const SDLButtonNamePanDownRight;
+
+/**
+ * Represents a Pan down button
+ */
+extern SDLButtonName const SDLButtonNamePanDown;
+
+/**
+ * Represents a Pan down left button
+ */
+extern SDLButtonName const SDLButtonNamePanDownLeft;
+
+/*
+ * Represents a Pan left button
+ */
+extern SDLButtonName const SDLButtonNamePanLeft;
+
+/*
+ * Represents a Pan up left button
+ */
+extern SDLButtonName const SDLButtonNamePanUpLeft;
+
+/*
+ * Represents a Tilt button. If supported, this toggles between a top-down view and an angled/3D view. If your app supports different, but substantially similar options, then you may implement those. If you don't implement these or similar options, do not subscribe to this button.
+ */
+extern SDLButtonName const SDLButtonNameTiltToggle;
+
+/*
+ * Represents a Rotate clockwise button
+ */
+extern SDLButtonName const SDLButtonNameRotateClockwise;
+
+/*
+ * Represents a Rotate counterclockwise button
+ */
+extern SDLButtonName const SDLButtonNameRotateCounterClockWise;
+
+/*
+ * Represents a Heading toggle button. If supported, this toggles between locking the orientation to north or to the vehicle's heading. If your app supports different, but substantially similar options, then you may implement those. If you don't implement these or similar options, do not subscribe to this button.
+ */
+extern SDLButtonName const SDLButtonNameHeadingToggle;
diff --git a/SmartDeviceLink/SDLButtonName.m b/SmartDeviceLink/SDLButtonName.m
index fe8e1ac33..78b4348e9 100644
--- a/SmartDeviceLink/SDLButtonName.m
+++ b/SmartDeviceLink/SDLButtonName.m
@@ -40,3 +40,18 @@ SDLButtonName const SDLButtonNameEject = @"EJECT";
SDLButtonName const SDLButtonNameSource = @"SOURCE";
SDLButtonName const SDLButtonNameShuffle = @"SHUFFLE";
SDLButtonName const SDLButtonNameRepeat = @"REPEAT";
+SDLButtonName const SDLButtonNameNavCenter = @"NAV_CENTER_LOCATION";
+SDLButtonName const SDLButtonNameZoomIn = @"NAV_ZOOM_IN";
+SDLButtonName const SDLButtonNameZoomOut = @"NAV_ZOOM_OUT";
+SDLButtonName const SDLButtonNamePanUP = @"NAV_PAN_UP";
+SDLButtonName const SDLButtonNamePanUpRight = @"NAV_PAN_UP_RIGHT";
+SDLButtonName const SDLButtonNamePanRight = @"NAV_PAN_RIGHT";
+SDLButtonName const SDLButtonNamePanDownRight = @"NAV_PAN_DOWN_RIGHT";
+SDLButtonName const SDLButtonNamePanDown = @"NAV_PAN_DOWN";
+SDLButtonName const SDLButtonNamePanDownLeft = @"NAV_PAN_DOWN_LEFT";
+SDLButtonName const SDLButtonNamePanLeft = @"NAV_PAN_LEFT";
+SDLButtonName const SDLButtonNamePanUpLeft = @"NAV_PAN_UP_LEFT";
+SDLButtonName const SDLButtonNameTiltToggle = @"NAV_TILT_TOGGLE";
+SDLButtonName const SDLButtonNameRotateClockwise = @"NAV_ROTATE_CLOCKWISE";
+SDLButtonName const SDLButtonNameRotateCounterClockWise = @"NAV_ROTATE_COUNTERCLOCKWISE";
+SDLButtonName const SDLButtonNameHeadingToggle = @"NAV_HEADING_TOGGLE";