| Revision 88,
756 bytes
checked in by jeroen, 5 years ago
(diff) |
|
merged 4.2 player to trunk
|
| Line | |
|---|
| 1 | /** |
|---|
| 2 | * Static typed list of all possible model states, fired with the 'state' event. |
|---|
| 3 | * |
|---|
| 4 | * Import this class into your project/plugin for strong-typed api references. |
|---|
| 5 | **/ |
|---|
| 6 | package com.jeroenwijering.events { |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | public class ModelStates { |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | /** Nothing happening. No playback and no file in memory. **/ |
|---|
| 13 | public static var IDLE:String = "IDLE"; |
|---|
| 14 | /** Buffering; will start to play when the buffer is full. **/ |
|---|
| 15 | public static var BUFFERING:String = "BUFFERING"; |
|---|
| 16 | /** The file is being played back. **/ |
|---|
| 17 | public static var PLAYING:String = "PLAYING"; |
|---|
| 18 | /** Playback is paused. **/ |
|---|
| 19 | public static var PAUSED:String = "PAUSED"; |
|---|
| 20 | /** End of mediafile has been reached. No playback but the file is in memory. **/ |
|---|
| 21 | public static var COMPLETED:String = "COMPLETED"; |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | } |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.