Package | org.osmf.media |
Class | public class MediaResourceBase |
Inheritance | MediaResourceBase ![]() |
Subclasses | PluginInfoResource, URLResource |
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 1.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Different MediaElement instances can "handle" (i.e. process and present) different resource types (e.g. a URL vs. an array of streams), or even different variations of the same resource type (e.g. a URL with the ".jpg" extension vs. a URL with a ".mp3" extension).
A MediaResourceBase can also have an arbitrary set of descriptive metadata. Metadata is typically used to further qualify the resource so that each MediaElement can determine whether (and how) to present and process the resource.
Public Properties
Property | Defined By | ||
---|---|---|---|
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
mediaType : String
The MediaType, if any, of this resource. | MediaResourceBase | ||
metadataNamespaceURLs : Vector.<String> [read-only]
A Vector containing the namespace URLs for all Metadata
objects within this resource. | MediaResourceBase | ||
mimeType : String
The MIME type, if any, of this resource. | MediaResourceBase |
Public Methods
Method | Defined By | ||
---|---|---|---|
Constructor. | MediaResourceBase | ||
![]() |
Indicates whether an object has a specified property defined. | Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the string representation of the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object |
Property Detail
mediaType | property |
metadataNamespaceURLs | property |
mimeType | property |
Constructor Detail
MediaResourceBase | () | Constructor |
public function MediaResourceBase()
Constructor.
Method Detail
Thu Dec 6 2018, 01:12 PM -08:00