root/trunk/as3/com/jeroenwijering/events/PluginInterface.as

Revision 88, 0.9 kB (checked in by jeroen, 13 months ago)

merged 4.2 player to trunk

Line 
1/**
2* Interface all plugins must implement.
3*
4* It defines the initializePlugin call, which is fired by the player.
5* It passes a reference of the view, which is the entrypoint for the API.
6*
7* The plugin API is part of the JW Player and as such covered by its licenses.
8* Implementing the API in other projects violates the license.
9* Contact us (www.longtailvideo.com) for more info or waivers.
10*
11* Import this class into your plugin for strong-typed api references.
12**/
13package com.jeroenwijering.events {
14
15
16import flash.events.Event;
17
18
19public interface PluginInterface {
20
21        /**
22        * When a plugin is loaded, the player attempts to call this function.
23        *
24        * @param vie    Reference to the View, which is the entrypoint for the API.
25        *                               It defines all available variables, listeners and calls.
26        * @see                  AbstractView
27        **/
28        function initializePlugin(vie:AbstractView):void;
29
30
31};
32
33
34}
Note: See TracBrowser for help on using the browser.