Beispiel #1
0
        void IBMDSwitcherMultiViewCallback.Notify(_BMDSwitcherMultiViewEventType eventType, int window)
        {
            switch (eventType)
            {
            case _BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeLayoutChanged:
                break;

            case _BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeWindowChanged:
                break;

            case _BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeCurrentInputSupportsVuMeterChanged:
                break;

            case _BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeVuMeterEnabledChanged:
                break;

            case _BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeVuMeterOpacityChanged:
                break;

            case _BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeCurrentInputSupportsSafeAreaChanged:
                break;

            case _BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeSafeAreaEnabledChanged:
                break;

            case _BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeProgramPreviewSwappedChanged:
                break;

            default:
                break;
            }
        }
Beispiel #2
0
        void IBMDSwitcherMultiViewCallback.Notify(_BMDSwitcherMultiViewEventType eventType, int window)
        {
            this._switcherMultiViewEventArgs_v7_5_2 = new SwitcherMultiViewEventArgs_v7_5_2 {
                _window = window
            };
            switch (eventType)
            {
            case _BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeCurrentInputSupportsSafeAreaChanged:
                SwitcherMultiViewEventTypeCurrentInputSupportsSafeAreaChanged?.Invoke(this, this._switcherMultiViewEventArgs_v7_5_2);
                break;

            case _BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeCurrentInputSupportsVuMeterChanged:
                SwitcherMultiViewEventTypeCurrentInputSupportsVuMeterChanged?.Invoke(this, this._switcherMultiViewEventArgs_v7_5_2);
                break;

            case _BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeLayoutChanged:
                SwitcherMultiViewEventTypeLayoutChanged?.Invoke(this, this._switcherMultiViewEventArgs_v7_5_2);
                break;

            case _BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeProgramPreviewSwappedChanged:
                SwitcherMultiViewEventTypeProgramPreviewSwappedChanged?.Invoke(this, this._switcherMultiViewEventArgs_v7_5_2);
                break;

            case _BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeSafeAreaEnabledChanged:
                SwitcherMultiViewEventTypeSafeAreaEnabledChanged?.Invoke(this, this._switcherMultiViewEventArgs_v7_5_2);
                break;

            case _BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeVuMeterEnabledChanged:
                SwitcherMultiViewEventTypeVuMeterEnabledChanged?.Invoke(this, this._switcherMultiViewEventArgs_v7_5_2);
                break;

            case _BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeVuMeterOpacityChanged:
                SwitcherMultiViewEventTypeVuMeterOpacityChanged?.Invoke(this, this._switcherMultiViewEventArgs_v7_5_2);
                break;

            case _BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeWindowChanged:
                SwitcherMultiViewEventTypeWindowChanged?.Invoke(this, this._switcherMultiViewEventArgs_v7_5_2);
                break;
            }
        }
Beispiel #3
0
        void IBMDSwitcherMultiViewCallback.Notify(_BMDSwitcherMultiViewEventType EventType, int Window)
        {
            switch (EventType)
            {
                case (_BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeLayoutChanged):
                    if (LayoutChanged != null)
                        LayoutChanged(this, null);
                    break;

                case (_BMDSwitcherMultiViewEventType.bmdSwitcherMultiViewEventTypeWindowChanged):
                    if (WindowChanged != null)
                        WindowChanged(this, null);
                    break;
            }
        }