Class OpenProjector.Builder

    • Method Detail

      • getType

        public Optional<ProjectorType> getType()
        Type of projector: `Preview` (default), `Source`, `Scene`, `StudioProgram`, or `Multiview` (case insensitive).
      • setType

        public void setType​(ProjectorType type)
        Type of projector: `Preview` (default), `Source`, `Scene`, `StudioProgram`, or `Multiview` (case insensitive).
      • getMonitor

        public Optional<Integer> getMonitor()
        Monitor to open the projector on. If -1 or omitted, opens a window.
      • setMonitor

        public void setMonitor​(int monitor)
        Monitor to open the projector on. If -1 or omitted, opens a window.
      • getGeometry

        public Optional<String> getGeometry()
        Size and position of the projector window (only if monitor is -1). Encoded in Base64 using [Qt's geometry encoding](https://doc.qt.io/qt-5/qwidget.html#saveGeometry). Corresponds to OBS's saved projectors.
      • setGeometry

        public void setGeometry​(String geometry)
        Size and position of the projector window (only if monitor is -1). Encoded in Base64 using [Qt's geometry encoding](https://doc.qt.io/qt-5/qwidget.html#saveGeometry). Corresponds to OBS's saved projectors.
      • getName

        public Optional<String> getName()
        Name of the source or scene to be displayed (ignored for other projector types).
      • setName

        public void setName​(String name)
        Name of the source or scene to be displayed (ignored for other projector types).
      • batchMessage

        public OpenProjector.Request batchMessage()
        Batch the message to the OBS Studio instance.