onClosed |
(error) => void |
Called once with an Error when the Player closes on its own, such as when its native connection is destroyed, before the Player rejects its pending play; core keeps using the Player until this call. The Player then rejects that play and every later call other than release. Never called for release. |