Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.model
Interface MediaQueriable


public interface MediaQueriable

Method Summary
 boolean getMediaFeatureBoolean(java.lang.String feature)
          Gets the media feature value.
 int getMediaFeatureInteger(java.lang.String feature)
          Gets the media feature value.
 double getMediaFeatureLength(java.lang.String feature, java.lang.String unit)
          Gets the media feature value.
 java.util.HashSet getMediaFeatureSet(java.lang.String feature)
          Gets the media feature value.
 java.lang.String getMediaFeatureString(java.lang.String feature)
          Gets the media feature value.
 java.lang.String getMediaType()
          Gets the media type property value
 boolean isMediaType(java.lang.String mediaType)
          Test if the device media type matches the parameter

 

Method Detail

getMediaType

public java.lang.String getMediaType()
Gets the media type property value
Returns:
String the media type property value

isMediaType

public boolean isMediaType(java.lang.String mediaType)
Test if the device media type matches the parameter
Returns:
String the media type property value

getMediaFeatureInteger

public int getMediaFeatureInteger(java.lang.String feature)
Gets the media feature value.
Parameters:
feature - the media feature
Returns:
int the value of the media feature.

getMediaFeatureLength

public double getMediaFeatureLength(java.lang.String feature,
                                    java.lang.String unit)
Gets the media feature value.
Parameters:
feature - the media feature
unit - the absolute unit for the length
Returns:
double the value of the media feature

getMediaFeatureBoolean

public boolean getMediaFeatureBoolean(java.lang.String feature)
Gets the media feature value.
Parameters:
feature - the media feature
Returns:
boolean the value of the media feature.

getMediaFeatureString

public java.lang.String getMediaFeatureString(java.lang.String feature)
Gets the media feature value.
Parameters:
feature - the media feature
Returns:
boolean the value of the media feature.

getMediaFeatureSet

public java.util.HashSet getMediaFeatureSet(java.lang.String feature)
Gets the media feature value.
Parameters:
feature - the media feature
Returns:
HashSet the value of the media feature.

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.