This repository has been archived by the owner on Apr 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathABVolumeHUDManager.h
37 lines (34 loc) · 1.61 KB
/
ABVolumeHUDManager.h
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
//
// ABVolumeHUDManager.h
// Ultrasound
//
// Created by Ayden Panhuyzen on 8/27/18.
// Copyright © 2018 Ayden Panhuyzen. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ABVolumeHUDVisibilityManager.h"
#import "ABVolumeHUDVolumeModeInfo.h"
#import "ABVolumeHUDVolumeInfoProviding.h"
#import "ABVolumeHUDTapticFeedbackProviding.h"
#import "ABVolumeHUDTheme.h"
#define kVolumeChangeNotification @"kABVolumeHUDVolumeChangedNotificationName"
#define kVolumeModeChangeNotification @"kABVolumeHUDVolumeModeChangedNotificationName"
#define kControlVisibilityChangedNotification @"kABVolumeHUDControlVisibilityChangedNotificationName"
#define kThemeSettingsChangedNotification @"kABVolumeHUDThemeChangedNotificationName"
@interface ABVolumeHUDManager : NSObject
+ (instancetype)sharedManager;
@property (nonatomic, retain) UIView *targetView;
@property (nonatomic, setter=setOLEDMode:) BOOL oledMode;
@property (nonatomic, readonly) ABVolumeHUDVisibilityManager *visibilityManager;
@property (nonatomic, retain) NSObject <ABVolumeHUDVolumeInfoProviding>*volumeInfoProvider;
@property (nonatomic, retain) NSObject <ABVolumeHUDTapticFeedbackProviding>*tapticFeedbackProvider;
@property (nonatomic, retain) NSObject <ABVolumeHUDTheme>*lightModeTheme;
@property (nonatomic, retain) NSObject <ABVolumeHUDTheme>*darkModeTheme;
@property (nonatomic, assign) UIInterfaceOrientation orientation;
- (void)createViewIfDoesntExist;
- (NSObject <ABVolumeHUDTheme>*)theme;
- (void)volumeChangedTo:(CGFloat)volume withMode:(ABVolumeHUDVolumeMode)mode;
- (void)volumeChangedTo:(CGFloat)volume;
- (BOOL)oledMode;
- (void)setOLEDMode:(BOOL)oledMode;
@end