tmedia_profile_t.java 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* ----------------------------------------------------------------------------
  2. * This file was automatically generated by SWIG (http://www.swig.org).
  3. * Version 2.0.9
  4. *
  5. * Do not make changes to this file unless you know what you are doing--modify
  6. * the SWIG interface file instead.
  7. * ----------------------------------------------------------------------------- */
  8. package org.doubango.tinyWRAP;
  9. public enum tmedia_profile_t {
  10. tmedia_profile_default,
  11. tmedia_profile_rtcweb;
  12. public final int swigValue() {
  13. return swigValue;
  14. }
  15. public static tmedia_profile_t swigToEnum(int swigValue) {
  16. tmedia_profile_t[] swigValues = tmedia_profile_t.class.getEnumConstants();
  17. if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
  18. return swigValues[swigValue];
  19. for (tmedia_profile_t swigEnum : swigValues)
  20. if (swigEnum.swigValue == swigValue)
  21. return swigEnum;
  22. throw new IllegalArgumentException("No enum " + tmedia_profile_t.class + " with value " + swigValue);
  23. }
  24. @SuppressWarnings("unused")
  25. private tmedia_profile_t() {
  26. this.swigValue = SwigNext.next++;
  27. }
  28. @SuppressWarnings("unused")
  29. private tmedia_profile_t(int swigValue) {
  30. this.swigValue = swigValue;
  31. SwigNext.next = swigValue+1;
  32. }
  33. @SuppressWarnings("unused")
  34. private tmedia_profile_t(tmedia_profile_t swigEnum) {
  35. this.swigValue = swigEnum.swigValue;
  36. SwigNext.next = this.swigValue+1;
  37. }
  38. private final int swigValue;
  39. private static class SwigNext {
  40. private static int next = 0;
  41. }
  42. }