onMediaStatus property

Stream<({MediaStatus newValue, MediaStatus oldValue})> get onMediaStatus

Implementation

// reply: true to let native code wait for dart callback result, may result in dead lock because when native waiting main isolate reply, main isolate may execute another task(e.g. frequent seekTo) which also acquire the same lock in native
Stream<({MediaStatus oldValue, MediaStatus newValue})> get onMediaStatus =>
    _statusCb.stream;