observe

fun observe(mediaTag: Any, observer: PlayableObserver): Boolean

Observe to the changes of Playable's Playback by its tag.

Return

true if the observer is registered, false otherwise.

Parameters

mediaTag

tag of the Playable to observe, must not be Master.NO_TAG.

observer

the PlayableObserver to be notified about the change.