public interface

ImaServerSideAdInsertionMediaSource.StreamEventListener

 androidx.media3.exoplayer.ima.ImaServerSideAdInsertionMediaSource.StreamEventListener

Overview

A listener to be notified of stream events.

Summary

Methods
public voidonStreamIdChanged(MediaItem mediaItem, java.lang.String streamId)

Called when the provided by the IMA SDK changed.

Methods

public void onStreamIdChanged(MediaItem mediaItem, java.lang.String streamId)

Called when the provided by the IMA SDK changed.

This method is called on the main thread.

Parameters:

mediaItem: The media item that the source resolved to the given stream ID.
streamId: The stream ID.