summaryrefslogtreecommitdiff
path: root/SmartDeviceLink-iOS/SmartDeviceLink/SDLPrimaryAudioSource.h
blob: 81e9a2257463a25744aa059b91d8b1eee8b4e65c (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
//  SDLPrimaryAudioSource.h
//


#import "SDLEnum.h"

/**
 * Reflects the current primary audio source of SDL (if selected).
 *
 * @since SDL 2.0
 */
@interface SDLPrimaryAudioSource : SDLEnum {
}

/**
 * @abstract get SDLPrimaryAudioSource according value string
 *
 * @param value String value to retrieve the object enum for
 *
 * @return SDLPrimaryAudioSource object
 */
+ (SDLPrimaryAudioSource *)valueOf:(NSString *)value;

/**
 * @abstract declare an array to store all possible SDLPrimaryAudioSource values
 * @return the array
 */
+ (NSArray *)values;

/**
 * @abstract Currently no source selected
 * @return the current primary audio source: *NO_SOURCE_SELECTED*
 */
+ (SDLPrimaryAudioSource *)NO_SOURCE_SELECTED;

/**
 * @abstract USB is current source
 * @return the current primary audio source: *USB*
 */
+ (SDLPrimaryAudioSource *)USB;

/**
 * @abstract USB2 is current source
 * @return the current primary audio source: *USB2*
 */
+ (SDLPrimaryAudioSource *)USB2;

/**
 * @abstract Bluetooth Stereo is current source
 * @return the current primary audio source: *BLUETOOTH_STEREO_BTST*
 */
+ (SDLPrimaryAudioSource *)BLUETOOTH_STEREO_BTST;

/**
 * @abstract Line in is current source
 * @return the current primary audio source: *LINE_IN*
 */
+ (SDLPrimaryAudioSource *)LINE_IN;

/**
 * @abstract iPod is current source
 * @return the current primary audio source: *IPOD*
 */
+ (SDLPrimaryAudioSource *)IPOD;

/**
 * @abstract Mobile app is current source
 * @return the current primary audio source: *MOBILE_APP*
 */
+ (SDLPrimaryAudioSource *)MOBILE_APP;

@end