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

/**
 * Describes whether or not streaming audio is currently audible to the user.
 * Though provided in every OnHMIStatus notification, this information is only
 * relevant for applications that declare themselves as media apps in
 * RegisterAppInterface
 * 
 * @since SmartDeviceLink 1.0
 */
public enum AudioStreamingState {
	/**
	 * Currently streaming audio, if any, is audible to user.
	 * 
	 * @since SmartDeviceLink 1.0
	 */
	AUDIBLE,

	/**
	 * Some kind of audio mixing is taking place. Currently streaming audio, if
	 * any, is audible to the user at a lowered volume.
	 * 
	 * @since SmartDeviceLink 2.0
	 */
	ATTENUATED,
	/**
	 * Currently streaming audio, if any, is not audible to user. made via VR
	 * session.
	 * 
	 * @since SmartDeviceLink 1.0
	 */
	NOT_AUDIBLE;

    public static AudioStreamingState valueForString(String value) {
        return valueOf(value);
    }
}