com.bramosystems.oss.player.core.event.client
Class MediaInfoEvent
java.lang.Object
com.google.gwt.event.shared.GwtEvent<MediaInfoHandler>
com.bramosystems.oss.player.core.event.client.MediaInfoEvent
public class MediaInfoEvent
- extends com.google.gwt.event.shared.GwtEvent<MediaInfoHandler>
The event fired when the media metadata is available.
The metadata is wrapped in a MediaInfo
object
- Author:
- Sikirulai Braheem
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
com.google.gwt.event.shared.GwtEvent.Type<H> |
Methods inherited from class com.google.gwt.event.shared.GwtEvent |
assertLive, getSource, isLive, kill, revive, toDebugString, toString |
TYPE
public static final com.google.gwt.event.shared.GwtEvent.Type<MediaInfoHandler> TYPE
MediaInfoEvent
protected MediaInfoEvent(MediaInfo info)
- Creates a new MediaInfoEvent object
- Parameters:
info
- the media metadata
fire
public static void fire(HasMediaMessageHandlers source,
MediaInfo info)
- Fires MediaInfoEvent on all registered handlers
- Parameters:
source
- the source of the eventinfo
- the metadata of the media
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<MediaInfoHandler> getAssociatedType()
- Specified by:
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<MediaInfoHandler>
dispatch
protected void dispatch(MediaInfoHandler handler)
- Specified by:
dispatch
in class com.google.gwt.event.shared.GwtEvent<MediaInfoHandler>
getMediaInfo
public MediaInfo getMediaInfo()
- Returns the metadata of the media item
- Returns:
- the metadata of the media item
Copyright © 2009-2011. All Rights Reserved.