|
Urbi SDK Remote for Java
2.7.3
|
00001 /* ---------------------------------------------------------------------------- 00002 * This file was automatically generated by SWIG (http://www.swig.org). 00003 * Version 2.0.4 00004 * 00005 * Do not make changes to this file unless you know what you are doing--modify 00006 * the SWIG interface file instead. 00007 * ----------------------------------------------------------------------------- */ 00008 00009 package urbi; 00010 00011 public enum USoundFormat { 00012 SOUND_RAW(0), 00013 SOUND_WAV(1), 00014 SOUND_MP3(2), 00015 SOUND_OGG(3), 00016 SOUND_UNKNOWN(4); 00017 00018 public final int swigValue() { 00019 return swigValue; 00020 } 00021 00022 public static USoundFormat swigToEnum(int swigValue) { 00023 USoundFormat[] swigValues = USoundFormat.class.getEnumConstants(); 00024 if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) 00025 return swigValues[swigValue]; 00026 for (USoundFormat swigEnum : swigValues) 00027 if (swigEnum.swigValue == swigValue) 00028 return swigEnum; 00029 throw new IllegalArgumentException("No enum " + USoundFormat.class + " with value " + swigValue); 00030 } 00031 00032 @SuppressWarnings("unused") 00033 private USoundFormat() { 00034 this.swigValue = SwigNext.next++; 00035 } 00036 00037 @SuppressWarnings("unused") 00038 private USoundFormat(int swigValue) { 00039 this.swigValue = swigValue; 00040 SwigNext.next = swigValue+1; 00041 } 00042 00043 @SuppressWarnings("unused") 00044 private USoundFormat(USoundFormat swigEnum) { 00045 this.swigValue = swigEnum.swigValue; 00046 SwigNext.next = this.swigValue+1; 00047 } 00048 00049 private final int swigValue; 00050 00051 private static class SwigNext { 00052 private static int next = 0; 00053 } 00054 } 00055