| Package | com.adobe.mediacore |
| Interface | public interface MediaPlayerItem |
| Property | Defined By | ||
|---|---|---|---|
| audioTracks : Vector.<AudioTrack> [read-only]
Provides the list of currently available audio tracks. | MediaPlayerItem | ||
| availableSpeeds : Vector.<int> [read-only]
Provides the list of available "speeds" in the context of the "trick-play" feature. | MediaPlayerItem | ||
| closedCaptionsTracks : Vector.<ClosedCaptionsTrack> [read-only]
Provides the list of currently available closed captions tracks. | MediaPlayerItem | ||
| drmMetadataInfos : Vector.<DRMMetadataInfo> [read-only]
Provides the list of currently drm metadata information associated with the current item. | MediaPlayerItem | ||
| hasAlternateAudio : Boolean [read-only]
Flag indicating that the media has alternate audio tracks. | MediaPlayerItem | ||
| hasClosedCaptions : Boolean [read-only]
Flag indicating that the media has alternate audio tracks. | MediaPlayerItem | ||
| hasTimedMetadata : Boolean [read-only]
Flag indicating that the media has timed metadata. | MediaPlayerItem | ||
| isDynamic : Boolean [read-only]
Flag indicating that the media has multiple bit-rate profiles. | MediaPlayerItem | ||
| isLive : Boolean [read-only]
Flag indicating if the stream is live or not. | MediaPlayerItem | ||
| isProtected : Boolean [read-only]
Flag indicating that the media is protected through the DRM module. | MediaPlayerItem | ||
| isTrickPlaySupported : Boolean [read-only]
Flag indicating that whether the "trick-play" feature is supported. | MediaPlayerItem | ||
| player : MediaPlayer [read-only]
Provides the media player currently associated with this player. | MediaPlayerItem | ||
| profiles : Vector.<Profile> [read-only]
Provides the list of currently available bit-rates profiles for the current playback window. | MediaPlayerItem | ||
| resource : MediaResource [read-only]
Returns the media resource associated with this item. | MediaPlayerItem | ||
| resourceId : int [read-only]
Returns the media identifier associated with this item. | MediaPlayerItem | ||
| selectedAudioTrack : AudioTrack [read-only]
Returns the currently selected alternate audio track. | MediaPlayerItem | ||
| selectedClosedCaptionsTrack : ClosedCaptionsTrack [read-only]
Returns the currently selected closed caption track. | MediaPlayerItem | ||
| timedMetadata : Vector.<TimedMetadata> [read-only]
Provides the list of currently available timed metadata for the current playback window. | MediaPlayerItem | ||
| Method | Defined By | ||
|---|---|---|---|
selectAudioTrack(audioTrack:AudioTrack):Boolean
Selects an alternate audio track to play. | MediaPlayerItem | ||
selectClosedCaptionsTrack(closedCaptionsTrack:ClosedCaptionsTrack):Boolean
Selects a close captions track to display. | MediaPlayerItem | ||
| audioTracks | property |
audioTracks:Vector.<AudioTrack> [read-only] Provides the list of currently available audio tracks.
public function get audioTracks():Vector.<AudioTrack>| availableSpeeds | property |
availableSpeeds:Vector.<int> [read-only] Provides the list of available "speeds" in the context of the "trick-play" feature.
public function get availableSpeeds():Vector.<int>| closedCaptionsTracks | property |
closedCaptionsTracks:Vector.<ClosedCaptionsTrack> [read-only] Provides the list of currently available closed captions tracks.
public function get closedCaptionsTracks():Vector.<ClosedCaptionsTrack>| drmMetadataInfos | property |
drmMetadataInfos:Vector.<DRMMetadataInfo> [read-only] Provides the list of currently drm metadata information associated with the current item.
public function get drmMetadataInfos():Vector.<DRMMetadataInfo>| hasAlternateAudio | property |
hasAlternateAudio:Boolean [read-only] Flag indicating that the media has alternate audio tracks.
public function get hasAlternateAudio():Boolean| hasClosedCaptions | property |
hasClosedCaptions:Boolean [read-only] Flag indicating that the media has alternate audio tracks.
public function get hasClosedCaptions():Boolean| hasTimedMetadata | property |
hasTimedMetadata:Boolean [read-only] Flag indicating that the media has timed metadata.
public function get hasTimedMetadata():Boolean| isDynamic | property |
isDynamic:Boolean [read-only] Flag indicating that the media has multiple bit-rate profiles.
public function get isDynamic():Boolean| isLive | property |
isLive:Boolean [read-only] Flag indicating if the stream is live or not.
public function get isLive():Boolean| isProtected | property |
isProtected:Boolean [read-only] Flag indicating that the media is protected through the DRM module.
public function get isProtected():Boolean| isTrickPlaySupported | property |
isTrickPlaySupported:Boolean [read-only] Flag indicating that whether the "trick-play" feature is supported.
public function get isTrickPlaySupported():Boolean| player | property |
player:MediaPlayer [read-only] Provides the media player currently associated with this player.
public function get player():MediaPlayer| profiles | property |
profiles:Vector.<Profile> [read-only] Provides the list of currently available bit-rates profiles for the current playback window.
public function get profiles():Vector.<Profile>| resource | property |
resource:MediaResource [read-only] Returns the media resource associated with this item.
public function get resource():MediaResource| resourceId | property |
resourceId:int [read-only] Returns the media identifier associated with this item.
public function get resourceId():int| selectedAudioTrack | property |
selectedAudioTrack:AudioTrack [read-only] Returns the currently selected alternate audio track.
public function get selectedAudioTrack():AudioTrack| selectedClosedCaptionsTrack | property |
selectedClosedCaptionsTrack:ClosedCaptionsTrack [read-only] Returns the currently selected closed caption track.
public function get selectedClosedCaptionsTrack():ClosedCaptionsTrack| timedMetadata | property |
timedMetadata:Vector.<TimedMetadata> [read-only] Provides the list of currently available timed metadata for the current playback window.
public function get timedMetadata():Vector.<TimedMetadata>| selectAudioTrack | () | method |
public function selectAudioTrack(audioTrack:AudioTrack):BooleanSelects an alternate audio track to play.
Parameters
audioTrack:AudioTrack — the audio track to be selected
|
Boolean — whether the operation was successful or not
|
| selectClosedCaptionsTrack | () | method |
public function selectClosedCaptionsTrack(closedCaptionsTrack:ClosedCaptionsTrack):BooleanSelects a close captions track to display.
Parameters
closedCaptionsTrack:ClosedCaptionsTrack — the audio track to be selected
|
Boolean — whether the operation was successful or not
|