SessionAvailabilityListener


@UnstableApi
interface SessionAvailabilityListener


Listener of changes in the cast session availability.

Summary

Public functions

Unit

Called when a cast session becomes available to the player.

Unit

Called when the cast session becomes unavailable.

Public functions

onCastSessionAvailable

fun onCastSessionAvailable(): Unit

Called when a cast session becomes available to the player.

onCastSessionUnavailable

fun onCastSessionUnavailable(): Unit

Called when the cast session becomes unavailable.