-
- All Implemented Interfaces:
-
tv.mycujoo.mcls.mediator.IAnnotationMediator
public final class AnnotationMediator implements IAnnotationMediator
-
-
Field Summary
Fields Modifier and Type Field Description private Function0<Unit>onSizeChangedCallbackprivate final IDataManagerdataManagerprivate final CoroutineScopedispatcher
-
Constructor Summary
Constructors Constructor Description AnnotationMediator(MLSPlayerView playerView, IAnnotationFactory annotationFactory, IDataManager dataManager, CoroutineScope dispatcher, IPlayer player, ScheduledExecutorService scheduler, Handler handler, Logger logger)
-
Method Summary
Modifier and Type Method Description Function0<Unit>getOnSizeChangedCallback()UnitsetOnSizeChangedCallback(Function0<Unit> onSizeChangedCallback)final IDataManagergetDataManager()final CoroutineScopegetDispatcher()UnitfetchActions(String timelineId, String updateId, Function1<Result<Exception, ActionResponse>, Unit> resultCallback)Unitfeed(ActionResponse actionResponse)UnitinitPlayerView(MLSPlayerView playerView)Unitrelease()region Over-ridden Functions -
-
Constructor Detail
-
AnnotationMediator
AnnotationMediator(MLSPlayerView playerView, IAnnotationFactory annotationFactory, IDataManager dataManager, CoroutineScope dispatcher, IPlayer player, ScheduledExecutorService scheduler, Handler handler, Logger logger)
-
-
Method Detail
-
getOnSizeChangedCallback
Function0<Unit> getOnSizeChangedCallback()
-
setOnSizeChangedCallback
Unit setOnSizeChangedCallback(Function0<Unit> onSizeChangedCallback)
-
getDataManager
final IDataManager getDataManager()
-
getDispatcher
final CoroutineScope getDispatcher()
-
fetchActions
Unit fetchActions(String timelineId, String updateId, Function1<Result<Exception, ActionResponse>, Unit> resultCallback)
-
feed
Unit feed(ActionResponse actionResponse)
-
initPlayerView
Unit initPlayerView(MLSPlayerView playerView)
-
-
-
-