Back to project page msf-spaces-sdk-android.
The source code is released under:
Apache License
If you think the Android project msf-spaces-sdk-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package de.imc.mirror.sdk.android; //w w w . j av a 2 s. c o m /** * Enumeration for commands available in spaces. * @author simon.schwantzer(at)im-c.de * */ public enum CommandType { CREATE, CONFIGURE, DELETE, CHANNELS, MODELS, VERSION, UNKNOWN; public static CommandType getTypeForTagName(String tagName) { CommandType result; try { result = CommandType.valueOf(tagName.toUpperCase()); } catch (IllegalArgumentException e) { result = CommandType.UNKNOWN; } return result; } /** * @return Type string in lower case. */ @Override public String toString() { return super.toString().toLowerCase(); } }