Overview
The Media
class represents a media resource.
It contains information about the media, such
as its source, resolution, and metadata.
Profile: common
Attribute Summary
name | type | description |
---|---|---|
Public | ||
duration | Duration |
The duration of the source media More: [+]The duration of the source media Profile: common |
onError | function(:MediaError):Void |
The function to be invoked when an error occurs on this The function to be invoked when an error occurs on this Profile: common |
resolutionX | Number |
The width resolution of the source media More: [+]The width resolution of the source media Profile: common |
resolutionY | Number |
The height resolution of the source media More: [+]The height resolution of the source media Profile: common |
source | String |
Defines the Defines the Profile: common |
Protected |
Inherited Attributes
Function Summary
- public getMetadata(key: java.lang.String) : java.lang.String
-
Returns the metadata stored in the source media for the specified key
More: [+]Returns the metadata stored in the source media for the specified key
-
Parameters
- key
-
Returns
- String
Profile: common