javax.microedition.amms.control
Interface ContainerFormatControl

All Superinterfaces:
FormatControl, Control

public interface ContainerFormatControl
extends FormatControl

ContainerFormatControl controls the setting of the container formats. ContainerFormatControl specifies the file format of an audio-video container format.

If a Player or a MediaProcessor provides ContainerFormatControl, that Player or MediaProcessor must provide both AudioFormatControl and VideoFormatControl as well.

Container Formats

Format definitions are not part of this specification. Instead, a list of definitions can be downloaded from Forum Nokia. The list will be constantly updated and new types will be added as needed.

Since:
BlackBerry API 5.0.0

Field Summary
 
Fields inherited from interface javax.microedition.amms.control.FormatControl
METADATA_NOT_SUPPORTED, METADATA_SUPPORTED_FIXED_KEYS, METADATA_SUPPORTED_FREE_KEYS, PARAM_BITRATE, PARAM_BITRATE_TYPE, PARAM_FRAMERATE, PARAM_QUALITY, PARAM_SAMPLERATE, PARAM_VERSION_TYPE
 
Method Summary
 void setFormat(String format)
          Sets the container format of the audio-video media.
 
Methods inherited from interface javax.microedition.amms.control.FormatControl
getEstimatedBitRate, getFormat, getIntParameterValue, getMetadataOverride, getMetadataSupportMode, getStrParameterValue, getSupportedFormats, getSupportedIntParameterRange, getSupportedIntParameters, getSupportedMetadataKeys, getSupportedStrParameterValues, getSupportedStrParameters, setMetadata, setMetadataOverride, setParameter, setParameter
 



Method Detail

setFormat

void setFormat(String format)
Sets the container format of the audio-video media. This method resets all audio and video settings possibly done through AudioFormatControl and VideoFormatControl.

Specified by:setFormat in interface FormatControl

Specified by:
setFormat in interface FormatControl
Parameters:
format - the new format
Throws:
IllegalArgumentException - if the format is not supported or if it is null
Since:
BlackBerry API 5.0.0





Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.