rememberTrack

fun <T : Track> rememberTrack(trackIdentifier: TrackIdentifier): T?

Observes the trackIdentifier object for the track.

A track publication will only have the track when it is subscribed, so this ensures the composition is updated with the correct track value as needed.

See also