CastStateListener

  • CastStateListener is an interface for monitoring the current CastState.

  • It has one public method, onCastStateChanged, which is called when the CastState changes.

  • The onCastStateChanged method is called on the main thread.

public interface CastStateListener

A listener interface for monitoring the current CastState.

Public Method Summary

abstract void
onCastStateChanged(int newState)
Called when the current CastState changes.

Public Methods

public abstract void onCastStateChanged (int newState)

Called when the current CastState changes. This method is called on the main thread.