summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLUnsubscribeButton.h
blob: 59efd38bc27df753ab370f1528264a16145e88ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//  SDLUnsubscribeButton.h
//

#import "SDLRPCRequest.h"

#import "SDLButtonName.h"


/**
 * Deletes a subscription to button notifications for the specified button. For
 * more information about button subscriptions, see SDLSubscribeButton
 * <p>
 * Application can unsubscribe from a button that is currently being pressed
 * (i.e. has not yet been released), but app will not get button event
 * <p>
 * <b>HMILevel needs to be FULL, LIMITED or BACKGROUND</b>
 * <p>
 
 * @since SmartDeviceLink 1.0<br/>
 * See SDLSubscribeButton
 */
@interface SDLUnsubscribeButton : SDLRPCRequest

- (instancetype)initWithButtonName:(SDLButtonName)buttonName;

/**
 * @abstract A name of the button to unsubscribe from
 * @discussion An Enumeration value, see <i>
 *         SDLButtonName</i>
 */
@property (strong) SDLButtonName buttonName;

@end