Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-927 (Maintenance Release)

javax.media.protocol
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

getRateConfigurations

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.

Returns:
The collection of RateConfigurations that this source supports.

setRateConfiguration

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

Parameters:
config - The RateConfiguration to use.
Returns:
The actual RateConfiguration used by the source.

JSR-927 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 927 specification.