예제 #1
0
 internal PlayerContext(PlayerContextManager contextManager, IPlayerSlotController slotController,
     Guid mediaModuleId, string name, AVType type,
     Guid currentlyPlayingWorkflowStateId, Guid fullscreenContentWorkflowStateId)
 {
   _contextManager = contextManager;
   _slotController = slotController;
   _slotController.SlotStateChanged += OnSlotStateChanged;
   SetContextVariable(KEY_PLAYER_CONTEXT, this);
   _playlist = new Playlist(this);
   _mediaModuleId = mediaModuleId;
   _name = name;
   _type = type;
   _currentlyPlayingWorkflowStateId = currentlyPlayingWorkflowStateId;
   _fullscreenContentWorkflowStateId = fullscreenContentWorkflowStateId;
 }
예제 #2
0
 internal PlayerContext(PlayerContextManager contextManager, IPlayerSlotController slotController,
                        Guid mediaModuleId, string name, AVType type,
                        Guid currentlyPlayingWorkflowStateId, Guid fullscreenContentWorkflowStateId)
 {
     _contextManager = contextManager;
     _slotController = slotController;
     _slotController.SlotStateChanged += OnSlotStateChanged;
     SetContextVariable(KEY_PLAYER_CONTEXT, this);
     _playlist      = new Playlist(this);
     _mediaModuleId = mediaModuleId;
     _name          = name;
     _type          = type;
     _currentlyPlayingWorkflowStateId  = currentlyPlayingWorkflowStateId;
     _fullscreenContentWorkflowStateId = fullscreenContentWorkflowStateId;
 }