summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLUnsubscribeButton.h
blob: edfa5ae20be22d2803fa4ac2432b1c48b7d96507 (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
34
35
36
37
38
//  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
 */

NS_ASSUME_NONNULL_BEGIN

@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, nonatomic) SDLButtonName buttonName;

@end

NS_ASSUME_NONNULL_END