Skip to content

Commit 10d9bf4

Browse files
author
Julian Kast
committed
Fixed formatting
1 parent d28ff2a commit 10d9bf4

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

base/src/main/java/com/smartdevicelink/managers/screen/OnButtonListener.java

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,29 @@
44
import com.smartdevicelink.proxy.rpc.OnButtonPress;
55
import com.smartdevicelink.proxy.rpc.enums.ButtonName;
66

7+
/**
8+
* OnButtonListener is a listener used for notifying when events have happened with SubscribeButtons
9+
*/
10+
public interface OnButtonListener {
11+
712
/**
8-
* OnButtonListener is a listener used for notifying when events have happened with SubscribeButtons
13+
* Returns when a Subscribed button is pressed
14+
* @param buttonName - Name of Button
15+
* @param buttonPress - OnButtonPress
916
*/
10-
public interface OnButtonListener {
11-
12-
/**
13-
* Returns when a Subscribed button is pressed
14-
* @param buttonName - Name of Button
15-
* @param buttonPress - OnButtonPress
16-
*/
17-
void onPress(ButtonName buttonName, OnButtonPress buttonPress);
17+
void onPress(ButtonName buttonName, OnButtonPress buttonPress);
1818

19-
/**
20-
* Returns when a Subscribed button Event has occurred
21-
* @param buttonName - Name of Button
22-
* @param buttonEvent - OnButtonEvent
23-
*/
24-
void onEvent(ButtonName buttonName, OnButtonEvent buttonEvent);
19+
/**
20+
* Returns when a Subscribed button Event has occurred
21+
* @param buttonName - Name of Button
22+
* @param buttonEvent - OnButtonEvent
23+
*/
24+
void onEvent(ButtonName buttonName, OnButtonEvent buttonEvent);
2525

26-
/**
27-
* Returns when there is an error with subscribing to button
28-
* @param info - Error info
29-
*/
30-
void onError(String info);
31-
}
26+
/**
27+
* Returns when there is an error with subscribing to button
28+
* @param info - Error info
29+
*/
30+
void onError(String info);
3231
}
32+

0 commit comments

Comments
 (0)