Brought up to date with the private repository (feea4c7)

This commit is contained in:
S committed 2026-10-14 20:57:33 +03:00
1 parent 1aa738d692
commit 1b1df1ae48
7925 files changed
+2617237 -20

No files matched your search

@@ -0,0 +1,52 @@
package org.osmf.events
{
import flash.events.Event;
import org.osmf.metadata.Metadata;
public class MediaElementEvent extends Event
{
public static const TRAIT_ADD:String = "traitAdd";
public static const TRAIT_REMOVE:String = "traitRemove";
public static const METADATA_ADD:String = "metadataAdd";
public static const METADATA_REMOVE:String = "metadataRemove";
private var _traitType:String;
private var _namespaceURL:String;
private var _metadata:Metadata;
public function MediaElementEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, traitType:String = null, namespaceURL:String = null, metadata:Metadata = null)
{
super(type,bubbles,cancelable);
this._traitType = traitType;
this._namespaceURL = namespaceURL;
this._metadata = metadata;
}
override public function clone() : Event
{
return new MediaElementEvent(type,bubbles,cancelable,this.traitType,this.namespaceURL,this.metadata);
}
public function get traitType() : String
{
return this._traitType;
}
public function get namespaceURL() : String
{
return this._namespaceURL;
}
public function get metadata() : Metadata
{
return this._metadata;
}
}
}