agree with wang16. we need to define an enum in XWalkResourceClient and document them.