OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface MediaError { | 7 interface MediaError { |
8 | 8 |
9 static final int MEDIA_ERR_ABORTED = 1; | 9 static final int MEDIA_ERR_ABORTED = 1; |
10 | 10 |
11 static final int MEDIA_ERR_DECODE = 3; | 11 static final int MEDIA_ERR_DECODE = 3; |
12 | 12 |
13 static final int MEDIA_ERR_NETWORK = 2; | 13 static final int MEDIA_ERR_NETWORK = 2; |
14 | 14 |
15 static final int MEDIA_ERR_SRC_NOT_SUPPORTED = 4; | 15 static final int MEDIA_ERR_SRC_NOT_SUPPORTED = 4; |
16 | 16 |
17 int get code(); | 17 final int code; |
18 } | 18 } |
OLD | NEW |