scenecollections

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2022 License: Apache-2.0 Imports: 2 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. 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.

Jump to

Keyboard shortcuts

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