GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazePlayerEntryPointDelegate - Android

BlazePlayerEntryPointDelegate is an interface that extends the functionalities of BlazePlayerSourceDelegate and provides additional callback methods for a player displayed from an entry point. This delegate allows your app to handle various types of events.

📘

All functions in this interface are optional, the choice of which function to implement is left for app developers.

On top of BlazePlayerSourceDelegate functions, the following functions are available:


onReadStatusChanged

Called when the read status of the content changes.

  • playerType - The type of the player.
  • sourceId - The unique identifier of the player's source.
  • dataSourceStringRepresentation - The data source type used to filter the content.
  • isEntireContentRead - Whether the entire content collection is considered read.
  • itemReadStatus - Dictionary mapping item IDs to their read status.
fun onReadStatusChanged(
        playerType: BlazePlayerType,
        sourceId: String?,
        dataSourceStringRepresentation: String,
        isEntireContentRead: Boolean,
        itemReadStatus: Map<String, Boolean>
    ) { }

Did this page help you?