• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 int getStartOffsetMs();
51    method public void setCameraId(int);
52    method public void setStartOffsetMs(int);
53  }
54
55  public static class CamcorderProfiles.ImageDecodingOptional {
56    ctor public CamcorderProfiles.ImageDecodingOptional();
57    method public int getMemCap();
58    method public void setMemCap(int);
59  }
60
61  public static class CamcorderProfiles.ImageEncodingOptional {
62    ctor public CamcorderProfiles.ImageEncodingOptional();
63    method public int getQuality();
64    method public void setQuality(int);
65  }
66
67  public class EncoderProfile {
68    ctor public EncoderProfile();
69    method public java.util.List<media.profiles.Audio> getAudio();
70    method public int getDuration();
71    method public String getFileFormat();
72    method public String getQuality();
73    method public java.util.List<media.profiles.Video> getVideo();
74    method public void setDuration(int);
75    method public void setFileFormat(String);
76    method public void setQuality(String);
77  }
78
79  public class MediaSettings {
80    ctor public MediaSettings();
81    method public java.util.List<media.profiles.AudioDecoderCap> getAudioDecoderCap();
82    method public java.util.List<media.profiles.AudioEncoderCap> getAudioEncoderCap();
83    method public java.util.List<media.profiles.CamcorderProfiles> getCamcorderProfiles();
84    method public java.util.List<media.profiles.MediaSettings.EncoderOutputFileFormat> getEncoderOutputFileFormat();
85    method public java.util.List<media.profiles.VideoDecoderCap> getVideoDecoderCap();
86    method public java.util.List<media.profiles.VideoEncoderCap> getVideoEncoderCap();
87  }
88
89  public static class MediaSettings.EncoderOutputFileFormat {
90    ctor public MediaSettings.EncoderOutputFileFormat();
91    method public String getName();
92    method public void setName(String);
93  }
94
95  public class Video {
96    ctor public Video();
97    method public int getBitRate();
98    method public String getCodec();
99    method public int getFrameRate();
100    method public int getHeight();
101    method public int getWidth();
102    method public void setBitRate(int);
103    method public void setCodec(String);
104    method public void setFrameRate(int);
105    method public void setHeight(int);
106    method public void setWidth(int);
107  }
108
109  public class VideoDecoderCap {
110    ctor public VideoDecoderCap();
111    method public boolean getEnabled();
112    method public String getName();
113    method public void setEnabled(boolean);
114    method public void setName(String);
115  }
116
117  public class VideoEncoderCap {
118    ctor public VideoEncoderCap();
119    method public boolean getEnabled();
120    method public int getMaxBitRate();
121    method public int getMaxFrameHeight();
122    method public int getMaxFrameRate();
123    method public int getMaxFrameWidth();
124    method public int getMinBitRate();
125    method public int getMinFrameHeight();
126    method public int getMinFrameRate();
127    method public int getMinFrameWidth();
128    method public String getName();
129    method public void setEnabled(boolean);
130    method public void setMaxBitRate(int);
131    method public void setMaxFrameHeight(int);
132    method public void setMaxFrameRate(int);
133    method public void setMaxFrameWidth(int);
134    method public void setMinBitRate(int);
135    method public void setMinFrameHeight(int);
136    method public void setMinFrameRate(int);
137    method public void setMinFrameWidth(int);
138    method public void setName(String);
139  }
140
141  public class XmlParser {
142    ctor public XmlParser();
143    method public static media.profiles.MediaSettings read(java.io.InputStream) throws javax.xml.datatype.DatatypeConfigurationException, java.io.IOException, org.xmlpull.v1.XmlPullParserException;
144    method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
145    method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
146  }
147
148}
149
150