Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

TransportStateListener

extends Object
java.lang.Object
   ↳ android.support.v4.media.TransportStateListener

Class Overview

A listener for playback changes that can be registered with TransportController .

Summary

Public Constructors
TransportStateListener ()
Public Methods
void onPlayingChanged ( TransportController controller)
The play state of the transport changed.
void onTransportControlsChanged ( TransportController controller)
The available controls of the transport changed.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TransportStateListener ()

Public Methods

public void onPlayingChanged ( TransportController controller)

The play state of the transport changed. Use TransportController.isPlaying() to determine the new state.

public void onTransportControlsChanged ( TransportController controller)

The available controls of the transport changed. Use getTransportControlFlags() TransportController.getTransportControlFlags()} to determine the new state.