caption

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Caption

type Caption interface {
	List(parts []string, output string)
	Insert(output string)
	Update(output string)
	Delete()
	Download()
	// contains filtered or unexported methods
}

func NewCation

func NewCation(opts ...Option) Caption

type Option

type Option func(*caption)

func WithAudioTrackType

func WithAudioTrackType(audioTrackType string) Option

func WithFile

func WithFile(file string) Option

func WithID

func WithID(id string) Option

func WithIsAutoSynced

func WithIsAutoSynced(isAutoSynced bool, changed bool) Option

func WithIsCC

func WithIsCC(isCC bool, changed bool) Option

func WithIsDraft

func WithIsDraft(isDraft bool, changed bool) Option

func WithIsEasyReader

func WithIsEasyReader(isEasyReader bool, changed bool) Option

func WithIsLarge

func WithIsLarge(isLarge bool, changed bool) Option

func WithLanguage

func WithLanguage(language string) Option

func WithName

func WithName(name string) Option

func WithOnBehalfOf

func WithOnBehalfOf(onBehalfOf string) Option

func WithOnBehalfOfContentOwner

func WithOnBehalfOfContentOwner(onBehalfOfContentOwner string) Option

func WithService

func WithService(svc *youtube.Service) Option

func WithTfmt

func WithTfmt(tfmt string) Option

func WithTlang

func WithTlang(tlang string) Option

func WithTrackKind

func WithTrackKind(trackKind string) Option

func WithVideoId

func WithVideoId(videoId string) Option

Jump to

Keyboard shortcuts

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