Lines Matching defs:DataSourceDesc
46 * Used by {@link MediaPlayer2#setDataSource(DataSourceDesc)}
49 * <p>Users should use {@link Builder} to change {@link DataSourceDesc}.
52 public final class DataSourceDesc {
82 private DataSourceDesc() {
199 * Builder class for {@link DataSourceDesc} objects.
201 * {@link DataSourceDesc} to be used by a {@link MediaPlayer2} instance:
204 * DataSourceDesc oldDSD = mediaplayer2.getDataSourceDesc();
205 * DataSourceDesc newDSD = new DataSourceDesc.Builder(oldDSD)
237 * Constructs a new Builder from a given {@link DataSourceDesc} instance
238 * @param dsd the {@link DataSourceDesc} object whose data will be reused
241 public Builder(DataSourceDesc dsd) {
259 * {@link DataSourceDesc} object. <code>IllegalStateException</code> will be
262 * @return a new {@link DataSourceDesc} object
264 public DataSourceDesc build() {
275 DataSourceDesc dsd = new DataSourceDesc();