SessionAvailabilityListener


@UnstableApi
public interface SessionAvailabilityListener


Listener of changes in the cast session availability.

Summary

Public methods

abstract void

Called when a cast session becomes available to the player.

abstract void

Called when the cast session becomes unavailable.

Public methods

onCastSessionAvailable

abstract void onCastSessionAvailable()

Called when a cast session becomes available to the player.

onCastSessionUnavailable

abstract void onCastSessionUnavailable()

Called when the cast session becomes unavailable.