Documentation ¶
Index ¶
- type Client
- func (c *Client) GetCurrentSceneCollection(paramss ...*GetCurrentSceneCollectionParams) (*GetCurrentSceneCollectionResponse, error)
- func (c *Client) ListSceneCollections(paramss ...*ListSceneCollectionsParams) (*ListSceneCollectionsResponse, error)
- func (c *Client) SetCurrentSceneCollection(params *SetCurrentSceneCollectionParams) (*SetCurrentSceneCollectionResponse, error)
- type GetCurrentSceneCollectionParams
- type GetCurrentSceneCollectionResponse
- type ListSceneCollectionsParams
- type ListSceneCollectionsResponse
- type SetCurrentSceneCollectionParams
- type SetCurrentSceneCollectionResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client represents a client for 'scene collections' requests.
func (*Client) GetCurrentSceneCollection ¶
func (c *Client) GetCurrentSceneCollection( paramss ...*GetCurrentSceneCollectionParams, ) (*GetCurrentSceneCollectionResponse, error)
GetCurrentSceneCollection sends the corresponding request to the connected OBS WebSockets server. Note the variadic arguments as this request doesn't require any parameters.
func (*Client) ListSceneCollections ¶
func (c *Client) ListSceneCollections(paramss ...*ListSceneCollectionsParams) (*ListSceneCollectionsResponse, error)
ListSceneCollections sends the corresponding request to the connected OBS WebSockets server. Note the variadic arguments as this request doesn't require any parameters.
func (*Client) SetCurrentSceneCollection ¶
func (c *Client) SetCurrentSceneCollection( params *SetCurrentSceneCollectionParams, ) (*SetCurrentSceneCollectionResponse, error)
SetCurrentSceneCollection sends the corresponding request to the connected OBS WebSockets server.
type GetCurrentSceneCollectionParams ¶
type GetCurrentSceneCollectionParams struct {
requests.ParamsBasic
}
GetCurrentSceneCollectionParams represents the params body for the "GetCurrentSceneCollection" request. Get the name of the current scene collection. Since 4.0.0.
func (*GetCurrentSceneCollectionParams) GetSelfName ¶ added in v0.5.0
func (o *GetCurrentSceneCollectionParams) GetSelfName() string
GetSelfName just returns "GetCurrentSceneCollection".
type GetCurrentSceneCollectionResponse ¶
type GetCurrentSceneCollectionResponse struct { requests.ResponseBasic // Name of the currently active scene collection. ScName string `json:"sc-name,omitempty"` }
GetCurrentSceneCollectionResponse represents the response body for the "GetCurrentSceneCollection" request. Get the name of the current scene collection. Since v4.0.0.
type ListSceneCollectionsParams ¶
type ListSceneCollectionsParams struct {
requests.ParamsBasic
}
ListSceneCollectionsParams represents the params body for the "ListSceneCollections" request. List available scene collections Since 4.0.0.
func (*ListSceneCollectionsParams) GetSelfName ¶ added in v0.5.0
func (o *ListSceneCollectionsParams) GetSelfName() string
GetSelfName just returns "ListSceneCollections".
type ListSceneCollectionsResponse ¶
type ListSceneCollectionsResponse struct { requests.ResponseBasic // Scene collections list SceneCollections []typedefs.ScenesCollection `json:"scene-collections,omitempty"` }
ListSceneCollectionsResponse represents the response body for the "ListSceneCollections" request. List available scene collections Since v4.0.0.
type SetCurrentSceneCollectionParams ¶
type SetCurrentSceneCollectionParams struct { requests.ParamsBasic // Name of the desired scene collection. ScName string `json:"sc-name,omitempty"` }
SetCurrentSceneCollectionParams represents the params body for the "SetCurrentSceneCollection" request. Change the active scene collection. Since 4.0.0.
func (*SetCurrentSceneCollectionParams) GetSelfName ¶ added in v0.5.0
func (o *SetCurrentSceneCollectionParams) GetSelfName() string
GetSelfName just returns "SetCurrentSceneCollection".
type SetCurrentSceneCollectionResponse ¶
type SetCurrentSceneCollectionResponse struct {
requests.ResponseBasic
}
SetCurrentSceneCollectionResponse represents the response body for the "SetCurrentSceneCollection" request. Change the active scene collection. Since v4.0.0.