It is a bit complicated to work on Enums. There is a difference between Enums and common classes. The latter has multiple values but no status. So it is usually used to hold finite and semantically strong status, like in the following case months of a year (in Java code):
While writing this guide I had issues finding a way to get the value from a method (when it returns an Enum) and get the value when You want to override a method. The following example does not work as expected. We have the following code in Java:
When we get the result from Frida:
the object returned seems to be the Month enum itself and not the particular value (so as an example the *.value does not work with the May object). I'll post a bug in the Frida repo and will update the result.