Class OpenProjector.Request
- java.lang.Object
-
- nl.harm27.obswebsocket.api.requests.BaseRequest
-
- nl.harm27.obswebsocket.api.requests.general.OpenProjector.Request
-
- Enclosing class:
- OpenProjector
public static class OpenProjector.Request extends BaseRequest
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRequestName()Says what the name is of this class.Class<?>getResponseType()Response type class to map the response to the correct datatype.voidsetGeometry(String geometry)Size and position of the projector window (only if monitor is -1).voidsetMonitor(int monitor)Monitor to open the projector on.voidsetName(String name)Name of the source or scene to be displayed (ignored for other projector types).voidsetType(OpenProjector.Type type)Type of projector-
Methods inherited from class nl.harm27.obswebsocket.api.requests.BaseRequest
getMessageId, isAuthenticationRequired
-
-
-
-
Constructor Detail
-
Request
public Request(String messageId)
-
-
Method Detail
-
getResponseType
public Class<?> getResponseType()
Description copied from class:BaseRequestResponse type class to map the response to the correct datatype.- Specified by:
getResponseTypein classBaseRequest
-
getRequestName
public String getRequestName()
Description copied from class:BaseRequestSays what the name is of this class.- Specified by:
getRequestNamein classBaseRequest
-
setType
public void setType(OpenProjector.Type type)
Type of projector
-
setMonitor
public void setMonitor(int monitor)
Monitor to open the projector on. If -1 or omitted, opens a window.
-
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.
-
setName
public void setName(String name)
Name of the source or scene to be displayed (ignored for other projector types).
-
-