Packagecom.akamai.osmf.metadata
Classpublic class AkamaiMediaType
InheritanceAkamaiMediaType Inheritance Object

This is a simple container class that contains a media type and a generic data object. This class enables other methods in the library to return this type, simplifying the API.



Public Properties
 PropertyDefined By
  data : Object
[read-only] The generic data object was supplied to the constructor.
AkamaiMediaType
  mediaType : String
[read-only] The Akamai media type.
AkamaiMediaType
Public Methods
 MethodDefined By
  
AkamaiMediaType(mediaType:String, data:Object)
Constructor.
AkamaiMediaType
Property Detail
dataproperty
data:Object  [read-only]

The generic data object was supplied to the constructor.


Implementation
    public function get data():Object
mediaTypeproperty 
mediaType:String  [read-only]

The Akamai media type. Should be one of the constants defined in AkamaiStrings


Implementation
    public function get mediaType():String

See also

Constructor Detail
AkamaiMediaType()Constructor
public function AkamaiMediaType(mediaType:String, data:Object)

Constructor.

Parameters
mediaType:String — The Akamai media type. This value should be one of the constant string values defined in AkamaiStrings
 
data:Object — A generic data object.

See also