1// Signature format: 2.0 2package media.profiles { 3 4 public class Audio { 5 ctor public Audio(); 6 method public int getBitRate(); 7 method public int getChannels(); 8 method public String getCodec(); 9 method public int getSampleRate(); 10 method public void setBitRate(int); 11 method public void setChannels(int); 12 method public void setCodec(String); 13 method public void setSampleRate(int); 14 } 15 16 public class AudioDecoderCap { 17 ctor public AudioDecoderCap(); 18 method public boolean getEnabled(); 19 method public String getName(); 20 method public void setEnabled(boolean); 21 method public void setName(String); 22 } 23 24 public class AudioEncoderCap { 25 ctor public AudioEncoderCap(); 26 method public boolean getEnabled(); 27 method public int getMaxBitRate(); 28 method public int getMaxChannels(); 29 method public int getMaxSampleRate(); 30 method public int getMinBitRate(); 31 method public int getMinChannels(); 32 method public int getMinSampleRate(); 33 method public String getName(); 34 method public void setEnabled(boolean); 35 method public void setMaxBitRate(int); 36 method public void setMaxChannels(int); 37 method public void setMaxSampleRate(int); 38 method public void setMinBitRate(int); 39 method public void setMinChannels(int); 40 method public void setMinSampleRate(int); 41 method public void setName(String); 42 } 43 44 public class CamcorderProfiles { 45 ctor public CamcorderProfiles(); 46 method public int getCameraId(); 47 method public java.util.List<media.profiles.EncoderProfile> getEncoderProfile_optional(); 48 method public java.util.List<media.profiles.CamcorderProfiles.ImageDecodingOptional> getImageDecoding_optional(); 49 method public java.util.List<media.profiles.CamcorderProfiles.ImageEncodingOptional> getImageEncoding_optional(); 50 method public void setCameraId(int); 51 } 52 53 public static class CamcorderProfiles.ImageDecodingOptional { 54 ctor public CamcorderProfiles.ImageDecodingOptional(); 55 method public int getMemCap(); 56 method public void setMemCap(int); 57 } 58 59 public static class CamcorderProfiles.ImageEncodingOptional { 60 ctor public CamcorderProfiles.ImageEncodingOptional(); 61 method public int getQuality(); 62 method public void setQuality(int); 63 } 64 65 public class EncoderProfile { 66 ctor public EncoderProfile(); 67 method public java.util.List<media.profiles.Audio> getAudio(); 68 method public int getDuration(); 69 method public String getFileFormat(); 70 method public String getQuality(); 71 method public java.util.List<media.profiles.Video> getVideo(); 72 method public void setDuration(int); 73 method public void setFileFormat(String); 74 method public void setQuality(String); 75 } 76 77 public class MediaSettings { 78 ctor public MediaSettings(); 79 method public java.util.List<media.profiles.AudioDecoderCap> getAudioDecoderCap(); 80 method public java.util.List<media.profiles.AudioEncoderCap> getAudioEncoderCap(); 81 method public java.util.List<media.profiles.CamcorderProfiles> getCamcorderProfiles(); 82 method public java.util.List<media.profiles.MediaSettings.EncoderOutputFileFormat> getEncoderOutputFileFormat(); 83 method public java.util.List<media.profiles.VideoDecoderCap> getVideoDecoderCap(); 84 method public java.util.List<media.profiles.VideoEncoderCap> getVideoEncoderCap(); 85 } 86 87 public static class MediaSettings.EncoderOutputFileFormat { 88 ctor public MediaSettings.EncoderOutputFileFormat(); 89 method public String getName(); 90 method public void setName(String); 91 } 92 93 public class Video { 94 ctor public Video(); 95 method public int getBitRate(); 96 method public String getCodec(); 97 method public int getFrameRate(); 98 method public int getHeight(); 99 method public int getWidth(); 100 method public void setBitRate(int); 101 method public void setCodec(String); 102 method public void setFrameRate(int); 103 method public void setHeight(int); 104 method public void setWidth(int); 105 } 106 107 public class VideoDecoderCap { 108 ctor public VideoDecoderCap(); 109 method public boolean getEnabled(); 110 method public String getName(); 111 method public void setEnabled(boolean); 112 method public void setName(String); 113 } 114 115 public class VideoEncoderCap { 116 ctor public VideoEncoderCap(); 117 method public boolean getEnabled(); 118 method public int getMaxBitRate(); 119 method public int getMaxFrameHeight(); 120 method public int getMaxFrameRate(); 121 method public int getMaxFrameWidth(); 122 method public int getMinBitRate(); 123 method public int getMinFrameHeight(); 124 method public int getMinFrameRate(); 125 method public int getMinFrameWidth(); 126 method public String getName(); 127 method public void setEnabled(boolean); 128 method public void setMaxBitRate(int); 129 method public void setMaxFrameHeight(int); 130 method public void setMaxFrameRate(int); 131 method public void setMaxFrameWidth(int); 132 method public void setMinBitRate(int); 133 method public void setMinFrameHeight(int); 134 method public void setMinFrameRate(int); 135 method public void setMinFrameWidth(int); 136 method public void setName(String); 137 } 138 139 public class XmlParser { 140 ctor public XmlParser(); 141 method public static media.profiles.MediaSettings read(java.io.InputStream) throws javax.xml.datatype.DatatypeConfigurationException, java.io.IOException, org.xmlpull.v1.XmlPullParserException; 142 method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; 143 method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException; 144 } 145 146} 147 148