public class SparkVideoDisplay extends FlexObject
Modifier | Constructor and Description |
---|---|
protected |
SparkVideoDisplay(JtfObjectHandle handle,
Desktop desktop)
Creates a new SparkVideoDisplay with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
double |
getBytesLoaded()
Gets the number of bytes of data that have been downloaded into the application.
|
double |
getBytesTotal()
Gets the total size in bytes of the data being downloaded into the application.
|
double |
getCurrentTime()
Gets the current time of the playhead, measured in seconds, since the video starting playing.
|
double |
getDuration()
Gets the duration of the video's playback, in seconds.
|
String |
getMediaPlayerState()
Gets the current state of the video.
|
String |
getScaleMode()
Gets the different ways of sizing the video content.
|
double |
getVolume()
Gets the volume level, specified as a value between 0 and 1.
|
boolean |
isAutoDisplayFirstFrame()
Gets whether the video is loaded when the source is set.
|
boolean |
isAutoPlay()
Gets whether the video starts playing immediately when the source property is set.
|
boolean |
isAutoRewind()
Gets whether the FLV file should rewind to the first frame when play stops.
|
boolean |
isLoop()
Gets whether the media should play again after playback has completed.
|
boolean |
isMuted()
Gets whether the video is muted.
|
boolean |
isPauseWhenHidden()
Gets whether the video continues to play when it is "hidden".
|
boolean |
isPlaying()
Gets a value whether the video is playing or is attempting to play.
|
changeFocus, changeFocus, changeFocus, getAutomationClassName, getAutomationIndex, getAutomationName, getClassName, getCurrentState, getErrorColor, getErrorString, getId, getNumAutomationChildren, getPercentHeight, getPercentWidth, getScaleX, getScaleY, getThemeColor, getToolTip, isEnabled, isFocusEnabled, isUseHandCursor, move, move, move, setFocus
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAlpha, getHeight, getStyle, getTabIndex, getWidth, getX, getY, isMouseEnabled, isTabChildren, isTabEnabled, isVisible, mouseMove, mouseMove, nativeToString, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getText, getValue, highlightObject, highlightObject, highlightObject, invokeMethods, textCapture, textCapture, textClick, textClick, textClick, textClick, textClick, textClick, textExists, textExists, textExists, textExists, textExists, textRectangle, textRectangle, textRectangle, textRectangle, textRectangle, waitForChildDisappearance, waitForChildDisappearance, waitForDisappearance, waitForDisappearance, waitForObject, waitForObject, waitForProperty, waitForProperty
equals, exists, find, find, findAll, findAll, getCustomTypeName, getDesktop, getHandle, getLocator, getProperty, getTypeName, hashCode, imageClick, imageClick, imageClick, imageClick, imageClick, imageClick, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageExists, imageExists, imageExists, imageExistsFile, imageExistsFile, imageExistsFile, imageRectangle, imageRectangle, imageRectangle, imageRectangleFile, imageRectangleFile, imageRectangleFile, invoke, preventFinalLocator, setProperty, toString
protected SparkVideoDisplay(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the SparkVideoDisplaydesktop
- the desktop on which this object livespublic boolean isAutoDisplayFirstFrame()
public boolean isAutoPlay()
public boolean isAutoRewind()
public double getBytesLoaded()
public double getBytesTotal()
public double getCurrentTime()
public double getDuration()
public boolean isLoop()
public String getMediaPlayerState()
public boolean isMuted()
public boolean isPauseWhenHidden()
public boolean isPlaying()
public String getScaleMode()
public double getVolume()
Copyright 2009-2012 Micro Focus. All Rights Reserved.