MediaPlayer DISPOSED is new in 8, but the interaction with other states is not well documented, and could/should be improved.
For example, it is not mentioned in the state table at the top of the docs, and whereas the docs contain special mention for UNKNOWN and HALTED, there is no mention of DISPOSED.
Of particular interest, the question I was trying to find an answer to, is ... "is it safe to call .dispose() at any time?" or alternatively, "what is the best/safest way to ensure that a MediaPlayer is no longer playing and the resources have been disposed of." Also, is it safe to call .dispose() on a MediaPlayer that has already been disposed?
For example, it is not mentioned in the state table at the top of the docs, and whereas the docs contain special mention for UNKNOWN and HALTED, there is no mention of DISPOSED.
Of particular interest, the question I was trying to find an answer to, is ... "is it safe to call .dispose() at any time?" or alternatively, "what is the best/safest way to ensure that a MediaPlayer is no longer playing and the resources have been disposed of." Also, is it safe to call .dispose() on a MediaPlayer that has already been disposed?