to top
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.