JSR-234 1.1

javax.microedition.amms.control
Interface ContainerFormatControl

All Superinterfaces:
javax.microedition.media.Control, FormatControl

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.


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(java.lang.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, getSupportedStrParameters, getSupportedStrParameterValues, setMetadata, setMetadataOverride, setParameter, setParameter
 

Method Detail

setFormat

void setFormat(java.lang.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
Parameters:
format - the new format

JSR-234 1.1

Copyright © 2004-2007 Nokia Corporation. See the Copyright for details.