title: How to match int to enum
body: <p>I am receiving return value in the form of long or int from Native code in Android, which I want to convert or match with enum, for processing purpose. Is it possible ?
  How?</p>