Ejemplo n.º 1
0
        public void Initialize(string deviceID)
        {
            StateReporter stateReporter = new StateReporter();

            int isHtc = 0;
            MirrorControlerBox mirrorControler = new MirrorControlerBox(deviceID, isHtc, stateReporter, _pauseInfo);

            SourcePosition.SetMirrorControler(mirrorControler);

            //进度事件
            stateReporter.Reported += StateChanged;
        }
Ejemplo n.º 2
0
 internal void SetMirrorControler(MirrorControlerBox mirrorControler)
 {
     _mirrorControlerBox = mirrorControler;
 }