OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 [DartPackage="mojo_services"] | |
6 module mojo.media; | |
7 | |
8 // Expresses the overall state of a media component. | |
9 enum MediaState { | |
10 // Unable to function due to error. Fault details are provided elsewhere. | |
11 FAULT, | |
12 | |
13 // Intentionally disabled. | |
14 DISABLED, | |
15 | |
16 // Requires preparation in order to function. | |
17 UNPREPARED, | |
18 | |
19 // Preparation underway. | |
20 PREPARING, | |
21 | |
22 // Fully prepared, rate zero (paused). | |
23 PREPARED, | |
24 | |
25 // Fully prepared, rate non-zero. | |
26 PLAYING, | |
johngro
2015/12/10 21:46:02
design question; we can defer action on this until
dalesat
2015/12/10 22:33:38
Many good questions. I've renamed PREPARED -> PAUS
| |
27 | |
28 // Stopped playing because end-of-stream was encountered. | |
29 ENDED | |
30 }; | |
OLD | NEW |