Changed literal constant states value to use an enum.
Changed literal constant states value to use an enum.

realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core