summaryrefslogtreecommitdiff
path: root/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/enums/PrimaryAudioSource.java
blob: b42f3f899a5216c8be98923db16c886f5a89cd77 (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
package com.smartdevicelink.proxy.rpc.enums;

/**
 * Reflects the current primary audio source of SMARTDEVICELINK (if selected).
 * @since SmartDeviceLink 2.0
 */
public enum PrimaryAudioSource {
	/**
	 * Currently no source selected
	 */
    NO_SOURCE_SELECTED,
    /**
     * USB is current source
     */
    USB,
    /**
     * USB2 is current source
     */
    USB2,
    /**
     * Bluetooth Stereo is current source
     */
    BLUETOOTH_STEREO_BTST,
    /**
     * Line in is current source
     */
    LINE_IN,
    /**
     * iPod is current source
     */
    IPOD,
    /**
     * Mobile app is current source
     */
    MOBILE_APP;

    /**
     * Convert String to PrimaryAudioSource
     * @param value String
     * @return PrimaryAudioSource
     */	
    public static PrimaryAudioSource valueForString(String value) {
        return valueOf(value);
    }
}