审查视图

.svn/pristine/b8/b8cbb3afd20c129580eda79c130d0f14f88eee07.svn-base 732 字节
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
package com.espeed.ua;

public enum DeviceType {

	/**
	 * Standard desktop or laptop computer
	 */
	COMPUTER("Computer"),
	/**
	 * Mobile phone or similar small mobile device
	 */
	MOBILE("Mobile"),
	/**
	 * Small tablet type computer.
	 */
	TABLET("Tablet"),
	/**
	 * Game console like the Wii or Playstation.
	 */
	GAME_CONSOLE("Game console"),
	/**
	 * Digital media receiver like the Google TV.
	 */
	DMR("Digital media receiver"),
	/**
	 * Miniature device like a smart watch or interactive glasses
	 */
	WEARABLE("Wearable computer"),
	/**
	 * Other or unknow type of device.
	 */
	UNKNOWN("Unknown");

	String name;

	private DeviceType(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

}