summaryrefslogtreecommitdiff
path: root/SDL_Android/LivioSdlUtilities/src/com/livio/sdl/enums/SdlTransportType.java
blob: 45e57761bfb4c1e3a853ad5f750bc0bbc2ab96a3 (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
package com.livio.sdl.enums;


/**
 * Represents the different types of connections that are available through SmartDeviceLink.
 *
 * @author Mike Burke
 *
 */
public enum SdlTransportType {
	/**
	 * Represents a BlueTooth connection with SmartDeviceLink.
	 */
	BLUETOOTH("Bluetooth"),
	/**
	 * Represents a WiFi connection with SmartDeviceLink.
	 */
	WIFI("WiFi"),
	/**
	 * Represents a USB connection with SmartDeviceLink.
	 */
	USB("USB"),
	
	;
	
	private final String name;
	
	private SdlTransportType(String friendlyName){
		this.name = friendlyName;
	}
	
	@Override
	public String toString(){
		return name;
	}
}