| 1 | package com.longtailvideo.jwplayer.view.interfaces { |
|---|
| 2 | import com.longtailvideo.jwplayer.events.IGlobalEventDispatcher; |
|---|
| 3 | |
|---|
| 4 | import flash.display.DisplayObject; |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | /** |
|---|
| 8 | * Sent when the user interface requests that the player play the currently loaded media |
|---|
| 9 | * |
|---|
| 10 | * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_PLAY |
|---|
| 11 | */ |
|---|
| 12 | [Event(name="jwPlayerViewPlay", type = "com.longtailvideo.jwplayer.events.ViewEvent")] |
|---|
| 13 | /** |
|---|
| 14 | * Sent when the user interface requests that the player pause the currently playing media |
|---|
| 15 | * |
|---|
| 16 | * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_PAUSE |
|---|
| 17 | */ |
|---|
| 18 | [Event(name="jwPlayerViewPause", type = "com.longtailvideo.jwplayer.events.ViewEvent")] |
|---|
| 19 | /** |
|---|
| 20 | * Sent when the user clicks on the display |
|---|
| 21 | * |
|---|
| 22 | * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_CLICK |
|---|
| 23 | */ |
|---|
| 24 | [Event(name="jwPlayerViewClick", type = "com.longtailvideo.jwplayer.events.ViewEvent")] |
|---|
| 25 | /** |
|---|
| 26 | * Sent when the display icon begins to become visible |
|---|
| 27 | * |
|---|
| 28 | * @eventType com.longtailvideo.jwplayer.events.ComponentEvent.JWPLAYER_COMPONENT_SHOW |
|---|
| 29 | */ |
|---|
| 30 | [Event(name="jwPlayerComponentShow", type="com.longtailvideo.jwplayer.events.ComponentEvent")] |
|---|
| 31 | /** |
|---|
| 32 | * Sent when the display icon begins to hide |
|---|
| 33 | * |
|---|
| 34 | * @eventType com.longtailvideo.jwplayer.events.ComponentEvent.JWPLAYER_COMPONENT_HIDE |
|---|
| 35 | */ |
|---|
| 36 | [Event(name="jwPlayerComponentHide", type="com.longtailvideo.jwplayer.events.ComponentEvent")] |
|---|
| 37 | |
|---|
| 38 | public interface IDisplayComponent extends IPlayerComponent { |
|---|
| 39 | function setIcon(displayIcon:DisplayObject):void; |
|---|
| 40 | function setText(displayText:String):void; |
|---|
| 41 | function forceState(forcedState:String):void; |
|---|
| 42 | function releaseState():void; |
|---|
| 43 | } |
|---|
| 44 | } |
|---|