Package 

Class RememberTrackKt

    • Method Summary

      Modifier and Type Method Description
      final static <T extends Track> State<T> rememberTrack(TrackIdentifier trackIdentifier) Observes the trackIdentifier object for the track.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • rememberTrack

        @Composable() final static <T extends Track> State<T> rememberTrack(TrackIdentifier trackIdentifier)

        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.