-
public final class PinnedTrackUiUseCase extends MediatorLiveData<MeetingTrack>
The purpose of this mediator livedata is to show global pinned tracks before local ones. Locally pinned tracks will only be shown if the global one isn't present.
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanisLocalTrackPinnedprivate final ObjectmDataLockprivate final IntegermActiveCountprivate final ObjectmPendingData
-
Constructor Summary
Constructors Constructor Description PinnedTrackUiUseCase(LiveData<MeetingTrack> local, LiveData<MeetingTrack> global)
-
Method Summary
Modifier and Type Method Description final BooleangetIsLocalTrackPinned()final UnitsetIsLocalTrackPinned(Boolean isLocalTrackPinned)-
Methods inherited from class androidx.lifecycle.MutableLiveData
changeActiveCounter, dispatchingValue, getValue, getVersion, hasActiveObservers, hasObservers, isInitialized, observe, observeForever, removeObserver, removeObservers -
Methods inherited from class androidx.lifecycle.MediatorLiveData
postValue, setValue -
Methods inherited from class live.hms.roomkit.ui.meeting.PinnedTrackUiUseCase
addSource, onActive, onInactive, removeSource -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
PinnedTrackUiUseCase
PinnedTrackUiUseCase(LiveData<MeetingTrack> local, LiveData<MeetingTrack> global)
-
-
Method Detail
-
getIsLocalTrackPinned
final Boolean getIsLocalTrackPinned()
-
setIsLocalTrackPinned
final Unit setIsLocalTrackPinned(Boolean isLocalTrackPinned)
-
-
-
-