Package 

Class RememberTrackReferencesKt

    • Method Summary

      Modifier and Type Method Description
      final static State<List<TrackReference>> rememberTracks(List<Track.Source> sources, Set<Track.Source> usePlaceholders, Room passedRoom, Boolean onlySubscribed) Returns an array of TrackReferences depending the sources provided.
      final static List<TrackReference> getTrackReferences(Room $self, List<Track.Source> sources, Set<Track.Source> usePlaceholders, Boolean onlySubscribed)
      • Methods inherited from class java.lang.Object

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

      • rememberTracks

        @Composable() final static State<List<TrackReference>> rememberTracks(List<Track.Source> sources, Set<Track.Source> usePlaceholders, Room passedRoom, Boolean onlySubscribed)

        Returns an array of TrackReferences depending the sources provided.

        Parameters:
        sources - The sources of the tracks to provide.
        usePlaceholders - A set of sources to provide placeholders for.
        passedRoom - The room to use on, or RoomLocal if null/not passed.
        onlySubscribed - If true, only return tracks that have been subscribed.