定义:
public enum UriSchema {
TEL("tel:"), SMS("sms:"), EMAIL("mailto:"), FILE("file:"), REMOTE("remote:"), HTTP(
"http:"), GEO("geo:"), LOC("loc:");
private String mValue;
private UriSchema(String value) {
mValue = value;
}
public String getmValue() {
return mValue;
}
}
=========================================================================
用法:
UriSchema.TEL.getmValue()