summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base/src/main/java/com/smartdevicelink/managers/OnButtonListener.java31
l---------[-rw-r--r--]baseAndroid/src/main/java/com/smartdevicelink/managers/OnButtonListener.java32
2 files changed, 32 insertions, 31 deletions
diff --git a/base/src/main/java/com/smartdevicelink/managers/OnButtonListener.java b/base/src/main/java/com/smartdevicelink/managers/OnButtonListener.java
new file mode 100644
index 000000000..0c8410ebd
--- /dev/null
+++ b/base/src/main/java/com/smartdevicelink/managers/OnButtonListener.java
@@ -0,0 +1,31 @@
+package com.smartdevicelink.managers;
+
+import com.smartdevicelink.proxy.rpc.OnButtonEvent;
+import com.smartdevicelink.proxy.rpc.OnButtonPress;
+import com.smartdevicelink.proxy.rpc.enums.ButtonName;
+
+/**
+ * OnButtonListener is a listener used for notifying when events have happened with SubscribeButtons
+ */
+public interface OnButtonListener {
+
+ /**
+ * Returns when a Subscribed button is pressed
+ * @param buttonName - Name of Button
+ * @param buttonPress - OnButtonPress
+ */
+ void onPress(ButtonName buttonName, OnButtonPress buttonPress);
+
+ /**
+ * Returns when a Subscribed button Event has occurred
+ * @param buttonName - Name of Button
+ * @param buttonEvent - OnButtonEvent
+ */
+ void onEvent(ButtonName buttonName, OnButtonEvent buttonEvent);
+
+ /**
+ * Returns when there is an error with subscribing to button
+ * @param info - Error info
+ */
+ void onError(String info);
+}
diff --git a/baseAndroid/src/main/java/com/smartdevicelink/managers/OnButtonListener.java b/baseAndroid/src/main/java/com/smartdevicelink/managers/OnButtonListener.java
index 0c8410ebd..71965c9db 100644..120000
--- a/baseAndroid/src/main/java/com/smartdevicelink/managers/OnButtonListener.java
+++ b/baseAndroid/src/main/java/com/smartdevicelink/managers/OnButtonListener.java
@@ -1,31 +1 @@
-package com.smartdevicelink.managers;
-
-import com.smartdevicelink.proxy.rpc.OnButtonEvent;
-import com.smartdevicelink.proxy.rpc.OnButtonPress;
-import com.smartdevicelink.proxy.rpc.enums.ButtonName;
-
-/**
- * OnButtonListener is a listener used for notifying when events have happened with SubscribeButtons
- */
-public interface OnButtonListener {
-
- /**
- * Returns when a Subscribed button is pressed
- * @param buttonName - Name of Button
- * @param buttonPress - OnButtonPress
- */
- void onPress(ButtonName buttonName, OnButtonPress buttonPress);
-
- /**
- * Returns when a Subscribed button Event has occurred
- * @param buttonName - Name of Button
- * @param buttonEvent - OnButtonEvent
- */
- void onEvent(ButtonName buttonName, OnButtonEvent buttonEvent);
-
- /**
- * Returns when there is an error with subscribing to button
- * @param info - Error info
- */
- void onError(String info);
-}
+/Users/juliankast/AndroidStudioProjects/sdl_java_suite/base/src/main/java/com/smartdevicelink/managers/OnButtonListener.java \ No newline at end of file