Interface RateConfigureable

public interface RateConfigureable

DataSources support the RateConfigureable interface if they use different rate-configurations to support multiple media display speeds.

See Also:
DataSource, RateConfiguration, RateRange

Method Summary
 RateConfiguration[] getRateConfigurations()
          Get the rate configurations that this object supports.
 RateConfiguration setRateConfiguration(RateConfiguration config)
          Set a new RateConfiguration.

Method Detail


public RateConfiguration[] getRateConfigurations()
Get the rate configurations that this object supports. There must always be one and only one for a RateConfiguration that covers a rate of 1.0.
The collection of RateConfigurations that this source supports.


public RateConfiguration setRateConfiguration(RateConfiguration config)
Set a new RateConfiguration. The new configuration should have been obtained by calling getRateConfigurations. Returns the actual RateConfiguration used.
config - The RateConfiguration to use.
The actual RateConfiguration used by the source.

Submit a bug or feature
Copyright 1999-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.