summaryrefslogtreecommitdiff
path: root/SmartDeviceLink_Example/SubscribeButtonManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink_Example/SubscribeButtonManager.h')
-rw-r--r--SmartDeviceLink_Example/SubscribeButtonManager.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/SmartDeviceLink_Example/SubscribeButtonManager.h b/SmartDeviceLink_Example/SubscribeButtonManager.h
new file mode 100644
index 000000000..07ecc4c87
--- /dev/null
+++ b/SmartDeviceLink_Example/SubscribeButtonManager.h
@@ -0,0 +1,25 @@
+//
+// SubscribeButtonManager.h
+// SmartDeviceLink-Example-ObjC
+//
+// Created by Nicole on 6/19/20.
+// Copyright © 2020 smartdevicelink. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+@class SDLManager;
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface SubscribeButtonManager : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
+- (instancetype)initWithManager:(SDLManager *)manager;
+
+/// Subscribe to all available preset buttons. An alert will be shown when a preset button is short pressed or long pressed.
+- (void)subscribeToAllPresetButtons;
+
+@end
+
+NS_ASSUME_NONNULL_END