Fix bug in code to skip error items on Android.
This commit is contained in:
parent
d6e14ae9d6
commit
e977949d46
3 changed files with 11 additions and 7 deletions
|
@ -598,6 +598,9 @@ class PlayerException {
|
|||
final String message;
|
||||
|
||||
PlayerException(this.code, this.message);
|
||||
|
||||
@override
|
||||
String toString() => "($code) $message";
|
||||
}
|
||||
|
||||
/// An error that occurs when one operation on the player has been interrupted
|
||||
|
@ -606,6 +609,9 @@ class PlayerInterruptedException {
|
|||
final String message;
|
||||
|
||||
PlayerInterruptedException(this.message);
|
||||
|
||||
@override
|
||||
String toString() => "$message";
|
||||
}
|
||||
|
||||
/// Encapsulates the playback state and current position of the player.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue