-
public final class RememberParticipantTrackReferencesKt
-
-
Method Summary
Modifier and Type Method Description final static State<List<TrackReference>>rememberParticipantTrackReferences(List<Track.Source> sources, Participant.Identity participantIdentity, Room passedRoom, Set<Track.Source> usePlaceholders, Boolean onlySubscribed)Returns an array of TrackReferences for a participant depending the sources provided. final static State<List<TrackReference>>rememberParticipantTrackReferences(List<Track.Source> sources, Set<Track.Source> usePlaceholders, Participant passedParticipant, Boolean onlySubscribed)Returns an array of TrackReferences for a participant depending the sources provided. final static List<TrackReference>getTrackReferencesBySource(Participant $self, List<Track.Source> sources, Set<Track.Source> usePlaceholders, Boolean onlySubscribed)-
-
Method Detail
-
rememberParticipantTrackReferences
@Composable() final static State<List<TrackReference>> rememberParticipantTrackReferences(List<Track.Source> sources, Participant.Identity participantIdentity, Room passedRoom, Set<Track.Source> usePlaceholders, Boolean onlySubscribed)
Returns an array of TrackReferences for a participant depending the sources provided.
- Parameters:
sources- The sources of the tracks to provide.participantIdentity- The identity of the participant.passedRoom- The room to use on, or RoomLocal if null.usePlaceholders- A set of sources to provide placeholders for.onlySubscribed- If true, only return tracks that have been subscribed.
-
rememberParticipantTrackReferences
@Composable() final static State<List<TrackReference>> rememberParticipantTrackReferences(List<Track.Source> sources, Set<Track.Source> usePlaceholders, Participant passedParticipant, Boolean onlySubscribed)
Returns an array of TrackReferences for a participant depending the sources provided.
- Parameters:
sources- The sources of the tracks to provide.usePlaceholders- A set of sources to provide placeholders for.passedParticipant- The participant to use on, or ParticipantLocal if null/not passed.onlySubscribed- If true, only return tracks that have been subscribed.
-
getTrackReferencesBySource
final static List<TrackReference> getTrackReferencesBySource(Participant $self, List<Track.Source> sources, Set<Track.Source> usePlaceholders, Boolean onlySubscribed)
-
-
-
-