public interface

TrackSelectionDialogBuilder.DialogCallback

 androidx.media3.ui.TrackSelectionDialogBuilder.DialogCallback

Overview

Callback which is invoked when a track selection has been made.

Summary

Methods
public voidonTracksSelected(boolean isDisabled, java.util.Map<TrackGroup, TrackSelectionOverride> overrides)

Called when tracks are selected.

Methods

public void onTracksSelected(boolean isDisabled, java.util.Map<TrackGroup, TrackSelectionOverride> overrides)

Called when tracks are selected.

Parameters:

isDisabled: Whether the disabled option is selected.
overrides: The selected track overrides.