scenecollections

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*requests.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.

Generated from https://github.com/Palakis/obs-websocket/blob/4.5.0/docs/generated/protocol.md#GetCurrentSceneCollection.

func (*GetCurrentSceneCollectionParams) Name

Name just returns "GetCurrentSceneCollection".

type GetCurrentSceneCollectionResponse

type GetCurrentSceneCollectionResponse struct {
	requests.ResponseBasic

	// Name of the currently active scene collection.
	ScName string `json:"sc-name"`
}

GetCurrentSceneCollectionResponse represents the response body for the "GetCurrentSceneCollection" request. Get the name of the current scene collection.

Generated from https://github.com/Palakis/obs-websocket/blob/4.5.0/docs/generated/protocol.md#GetCurrentSceneCollection.

type ListSceneCollectionsParams

type ListSceneCollectionsParams struct {
	requests.ParamsBasic
}

ListSceneCollectionsParams represents the params body for the "ListSceneCollections" request. List available scene collections

Generated from https://github.com/Palakis/obs-websocket/blob/4.5.0/docs/generated/protocol.md#ListSceneCollections.

func (*ListSceneCollectionsParams) Name

Name just returns "ListSceneCollections".

type ListSceneCollectionsResponse

type ListSceneCollectionsResponse struct {
	requests.ResponseBasic

	// Scene collections list
	SceneCollections []string `json:"scene-collections"`
}

ListSceneCollectionsResponse represents the response body for the "ListSceneCollections" request. List available scene collections

Generated from https://github.com/Palakis/obs-websocket/blob/4.5.0/docs/generated/protocol.md#ListSceneCollections.

type SetCurrentSceneCollectionParams

type SetCurrentSceneCollectionParams struct {
	requests.ParamsBasic

	// Name of the desired scene collection.
	ScName string `json:"sc-name"`
}

SetCurrentSceneCollectionParams represents the params body for the "SetCurrentSceneCollection" request. Change the active scene collection.

Generated from https://github.com/Palakis/obs-websocket/blob/4.5.0/docs/generated/protocol.md#SetCurrentSceneCollection.

func (*SetCurrentSceneCollectionParams) Name

Name just returns "SetCurrentSceneCollection".

type SetCurrentSceneCollectionResponse

type SetCurrentSceneCollectionResponse struct {
	requests.ResponseBasic
}

SetCurrentSceneCollectionResponse represents the response body for the "SetCurrentSceneCollection" request. Change the active scene collection.

Generated from https://github.com/Palakis/obs-websocket/blob/4.5.0/docs/generated/protocol.md#SetCurrentSceneCollection.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL