public class

SmilMediaElementImpl

extends SmilElementImpl
implements SMILMediaElement
java.lang.Object
   ↳ com.android.mms.dom.NodeImpl
     ↳ com.android.mms.dom.ElementImpl
       ↳ com.android.mms.dom.smil.SmilElementImpl
         ↳ com.android.mms.dom.smil.SmilMediaElementImpl
Known Direct Subclasses
Known Indirect Subclasses

Summary

Constants
String SMIL_MEDIA_END_EVENT
String SMIL_MEDIA_PAUSE_EVENT
String SMIL_MEDIA_SEEK_EVENT
String SMIL_MEDIA_START_EVENT
[Expand]
Inherited Constants
From interface org.w3c.dom.Node
From interface org.w3c.dom.smil.ElementTime
Public Methods
boolean beginElement()
Causes this element to begin the local timeline (subject to sync constraints).
boolean endElement()
Causes this element to end the local timeline (subject to sync constraints).
String getAbstractAttr()
See the abstract attribute from .
String getAlt()
See the alt attribute from .
String getAuthor()
See the author attribute from .
TimeList getBegin()
The desired value (as a list of times) of the begin instant of this node.
String getClipBegin()
See the clipBegin attribute from .
String getClipEnd()
See the clipEnd attribute from .
String getCopyright()
See the copyright attribute from .
float getDur()
The desired simple duration value of this node in seconds.
TimeList getEnd()
The list of active ends for this node.
short getFill()
A code representing the value of the fill attribute, as defined above.
short getFillDefault()
String getLongdesc()
See the longdesc attribute from .
String getPort()
See the port attribute from .
String getReadIndex()
See the readIndex attribute from .
float getRepeatCount()
The repeatCount attribute causes the element to play repeatedly (loop) for the specified number of times.
float getRepeatDur()
The repeatDur causes the element to play repeatedly (loop) for the specified duration in milliseconds.
short getRestart()
A code representing the value of the restart attribute, as defined above.
String getRtpformat()
See the rtpformat attribute from .
String getSrc()
See the src attribute from .
String getStripRepeat()
See the stripRepeat attribute from .
String getTitle()
See the title attribute from .
String getTransport()
See the transport attribute from .
String getType()
See the type attribute from .
void pauseElement()
Causes this element to pause the local timeline (subject to sync constraints).
void resumeElement()
Causes this element to resume a paused local timeline.
void seekElement(float seekTo)
Seeks this element to the specified point on the local timeline (subject to sync constraints).
void setAbstractAttr(String abstractAttr)
void setAlt(String alt)
void setAuthor(String author)
void setBegin(TimeList begin)
void setClipBegin(String clipBegin)
void setClipEnd(String clipEnd)
void setCopyright(String copyright)
void setDur(float dur)
void setEnd(TimeList end)
void setFill(short fill)
void setFillDefault(short fillDefault)
void setLongdesc(String longdesc)
void setPort(String port)
void setReadIndex(String readIndex)
void setRepeatCount(float repeatCount)
void setRepeatDur(float repeatDur)
void setRestart(short restart)
void setRtpformat(String rtpformat)
void setSrc(String src)
void setStripRepeat(String stripRepeat)
void setTitle(String title)
void setTransport(String transport)
void setType(String type)
[Expand]
Inherited Methods
From class com.android.mms.dom.smil.SmilElementImpl
From class com.android.mms.dom.ElementImpl
From class com.android.mms.dom.NodeImpl
From class java.lang.Object
From interface org.w3c.dom.Element
From interface org.w3c.dom.Node
From interface org.w3c.dom.events.EventTarget
From interface org.w3c.dom.smil.ElementTime
From interface org.w3c.dom.smil.SMILElement
From interface org.w3c.dom.smil.SMILMediaElement

Constants

public static final String SMIL_MEDIA_END_EVENT

Constant Value: "SmilMediaEnd"

public static final String SMIL_MEDIA_PAUSE_EVENT

Constant Value: "SmilMediaPause"

public static final String SMIL_MEDIA_SEEK_EVENT

Constant Value: "SmilMediaSeek"

public static final String SMIL_MEDIA_START_EVENT

Constant Value: "SmilMediaStart"

Public Methods

public boolean beginElement ()

Causes this element to begin the local timeline (subject to sync constraints).

Returns
  • true if the method call was successful and the element was begun. false if the method call failed. Possible reasons for failure include: The element doesn't support the beginElement method. (the beginEvent attribute is not set to "undefinite" ) The element is already active and can't be restart when it is active. (the restart attribute is set to "whenNotActive" ) The element is active or has been active and can't be restart. (the restart attribute is set to "never" ).

public boolean endElement ()

Causes this element to end the local timeline (subject to sync constraints).

Returns
  • true if the method call was successful and the element was endeed. false if method call failed. Possible reasons for failure include: The element doesn't support the endElement method. (the endEvent attribute is not set to "undefinite" ) The element is not active.

public String getAbstractAttr ()

See the abstract attribute from .

public String getAlt ()

See the alt attribute from .

public String getAuthor ()

See the author attribute from .

public TimeList getBegin ()

The desired value (as a list of times) of the begin instant of this node.

public String getClipBegin ()

See the clipBegin attribute from .

public String getClipEnd ()

See the clipEnd attribute from .

public String getCopyright ()

See the copyright attribute from .

public float getDur ()

The desired simple duration value of this node in seconds. Negative value means "indefinite".

public TimeList getEnd ()

The list of active ends for this node.

public short getFill ()

A code representing the value of the fill attribute, as defined above. Default value is FILL_REMOVE .

public short getFillDefault ()

public String getLongdesc ()

See the longdesc attribute from .

public String getPort ()

See the port attribute from .

public String getReadIndex ()

See the readIndex attribute from .

public float getRepeatCount ()

The repeatCount attribute causes the element to play repeatedly (loop) for the specified number of times. A negative value repeat the element indefinitely. Default value is 0 (unspecified).

public float getRepeatDur ()

The repeatDur causes the element to play repeatedly (loop) for the specified duration in milliseconds. Negative means "indefinite".

public short getRestart ()

A code representing the value of the restart attribute, as defined above. Default value is RESTART_ALWAYS .

public String getRtpformat ()

See the rtpformat attribute from .

public String getSrc ()

See the src attribute from .

public String getStripRepeat ()

See the stripRepeat attribute from .

public String getTitle ()

See the title attribute from .

public String getTransport ()

See the transport attribute from .

public String getType ()

See the type attribute from .

public void pauseElement ()

Causes this element to pause the local timeline (subject to sync constraints).

public void resumeElement ()

Causes this element to resume a paused local timeline.

public void seekElement (float seekTo)

Seeks this element to the specified point on the local timeline (subject to sync constraints). If this is a timeline, this must seek the entire timeline (i.e. propagate to all timeChildren).

Parameters
seekTo The desired position on the local timeline in milliseconds.

public void setAbstractAttr (String abstractAttr)

Throws
DOMException

public void setAlt (String alt)

Throws
DOMException

public void setAuthor (String author)

Throws
DOMException

public void setBegin (TimeList begin)

Throws
DOMException

public void setClipBegin (String clipBegin)

Throws
DOMException

public void setClipEnd (String clipEnd)

Throws
DOMException

public void setCopyright (String copyright)

Throws
DOMException

public void setDur (float dur)

Throws
DOMException

public void setEnd (TimeList end)

Throws
DOMException

public void setFill (short fill)

Throws
DOMException

public void setFillDefault (short fillDefault)

Throws
DOMException

public void setLongdesc (String longdesc)

Throws
DOMException

public void setPort (String port)

Throws
DOMException

public void setReadIndex (String readIndex)

Throws
DOMException

public void setRepeatCount (float repeatCount)

Throws
DOMException

public void setRepeatDur (float repeatDur)

Throws
DOMException

public void setRestart (short restart)

Throws
DOMException

public void setRtpformat (String rtpformat)

Throws
DOMException

public void setSrc (String src)

Throws
DOMException

public void setStripRepeat (String stripRepeat)

Throws
DOMException

public void setTitle (String title)

Throws
DOMException

public void setTransport (String transport)

Throws
DOMException

public void setType (String type)

Throws
DOMException