com.bramosystems.oss.player.youtube.client
Class PlaybackQualityChangeEvent
java.lang.Object
com.google.gwt.event.shared.GwtEvent<PlaybackQualityChangeHandler>
com.bramosystems.oss.player.youtube.client.PlaybackQualityChangeEvent
public class PlaybackQualityChangeEvent
- extends com.google.gwt.event.shared.GwtEvent<PlaybackQualityChangeHandler>
The event fired when the playback quality of a YouTube video changes
- Since:
- 1.1
- 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE
public static final com.google.gwt.event.shared.GwtEvent.Type<PlaybackQualityChangeHandler> TYPE
PlaybackQualityChangeEvent
protected PlaybackQualityChangeEvent(PlaybackQuality quality)
- Creates a new PlaybackQualityChangeEvent event
- Parameters:
quality
- the new playback quality
fire
public static void fire(YouTubePlayer source,
PlaybackQuality quality)
- Fires PlaybackQualityChangeEvent events on all registered handlers
- Parameters:
source
- the YouTubePlayer generating the eventquality
- the playback quality
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<PlaybackQualityChangeHandler> getAssociatedType()
- Specified by:
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<PlaybackQualityChangeHandler>
dispatch
protected void dispatch(PlaybackQualityChangeHandler handler)
- Specified by:
dispatch
in class com.google.gwt.event.shared.GwtEvent<PlaybackQualityChangeHandler>
getPlaybackQuality
public PlaybackQuality getPlaybackQuality()
- Retrieves the new video playback quality
- Returns:
- the new video playback quality
Copyright © 2009-2011. All Rights Reserved.