tmedia_pref_video_size_t.java 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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_pref_video_size_t {
  10. tmedia_pref_video_size_sqcif,
  11. tmedia_pref_video_size_qcif,
  12. tmedia_pref_video_size_qvga,
  13. tmedia_pref_video_size_cif,
  14. tmedia_pref_video_size_hvga,
  15. tmedia_pref_video_size_vga,
  16. tmedia_pref_video_size_4cif,
  17. tmedia_pref_video_size_wvga,
  18. tmedia_pref_video_size_svga,
  19. tmedia_pref_video_size_480p,
  20. tmedia_pref_video_size_xga,
  21. tmedia_pref_video_size_720p,
  22. tmedia_pref_video_size_16cif,
  23. tmedia_pref_video_size_1080p,
  24. tmedia_pref_video_size_2160p;
  25. public final int swigValue() {
  26. return swigValue;
  27. }
  28. public static tmedia_pref_video_size_t swigToEnum(int swigValue) {
  29. tmedia_pref_video_size_t[] swigValues = tmedia_pref_video_size_t.class.getEnumConstants();
  30. if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
  31. return swigValues[swigValue];
  32. for (tmedia_pref_video_size_t swigEnum : swigValues)
  33. if (swigEnum.swigValue == swigValue)
  34. return swigEnum;
  35. throw new IllegalArgumentException("No enum " + tmedia_pref_video_size_t.class + " with value " + swigValue);
  36. }
  37. @SuppressWarnings("unused")
  38. private tmedia_pref_video_size_t() {
  39. this.swigValue = SwigNext.next++;
  40. }
  41. @SuppressWarnings("unused")
  42. private tmedia_pref_video_size_t(int swigValue) {
  43. this.swigValue = swigValue;
  44. SwigNext.next = swigValue+1;
  45. }
  46. @SuppressWarnings("unused")
  47. private tmedia_pref_video_size_t(tmedia_pref_video_size_t swigEnum) {
  48. this.swigValue = swigEnum.swigValue;
  49. SwigNext.next = this.swigValue+1;
  50. }
  51. private final int swigValue;
  52. private static class SwigNext {
  53. private static int next = 0;
  54. }
  55. }