diff options
author | Julian Kast <julian@livio.com> | 2020-06-29 13:01:01 -0400 |
---|---|---|
committer | Julian Kast <julian@livio.com> | 2020-06-29 13:01:01 -0400 |
commit | 10d9bf489f950c9953ad286380806546356c929b (patch) | |
tree | 99cca9a112291624306cc966b1c771facf4df16f | |
parent | d28ff2aa9bde9bbed26175d0ee9e8c8c25cc6230 (diff) | |
download | sdl_android-10d9bf489f950c9953ad286380806546356c929b.tar.gz |
Fixed formatting
-rw-r--r-- | base/src/main/java/com/smartdevicelink/managers/screen/OnButtonListener.java | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/base/src/main/java/com/smartdevicelink/managers/screen/OnButtonListener.java b/base/src/main/java/com/smartdevicelink/managers/screen/OnButtonListener.java index c3b88ce6c..ba2910307 100644 --- a/base/src/main/java/com/smartdevicelink/managers/screen/OnButtonListener.java +++ b/base/src/main/java/com/smartdevicelink/managers/screen/OnButtonListener.java @@ -4,29 +4,29 @@ 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 { + /** - * OnButtonListener is a listener used for notifying when events have happened with SubscribeButtons + * Returns when a Subscribed button is pressed + * @param buttonName - Name of Button + * @param buttonPress - OnButtonPress */ - public interface OnButtonListener { - - /** - * Returns when a Subscribed button is pressed - * @param buttonName - Name of Button - * @param buttonPress - OnButtonPress - */ - void onPress(ButtonName buttonName, OnButtonPress buttonPress); + 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 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); - } + /** + * Returns when there is an error with subscribing to button + * @param info - Error info + */ + void onError(String info); } + |