Documentation
¶
Overview ¶
Package vlc contains local Tast tests that exercise vlc.
Index ¶
- Constants
- type Vlc
- func (vlc *Vlc) Close(ctx context.Context, cr *chrome.Chrome, hasError func() bool, outDir string) error
- func (vlc *Vlc) EnterAudioFolder(ctx context.Context) error
- func (vlc *Vlc) Install(ctx context.Context, cr *chrome.Chrome) error
- func (vlc *Vlc) IsPaused(ctx context.Context) error
- func (vlc *Vlc) IsPlaying(ctx context.Context) error
- func (vlc *Vlc) Launch(ctx context.Context) error
- func (vlc *Vlc) Play(ctx context.Context) error
- func (vlc *Vlc) PlayAudio(ctx context.Context, filetype string) error
Constants ¶
View Source
const (
// AppName is the name of ARC app.
AppName = "VLC"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vlc ¶
type Vlc struct {
// contains filtered or unexported fields
}
Vlc holds resources of ARC app VLC player.
func NewVLCPlayer ¶
func NewVLCPlayer(ctx context.Context, cr *chrome.Chrome, kb *input.KeyboardEventWriter, tconn *chrome.TestConn, a *arc.ARC) (*Vlc, error)
NewVLCPlayer returns VLC instance.
func (*Vlc) Close ¶
func (vlc *Vlc) Close(ctx context.Context, cr *chrome.Chrome, hasError func() bool, outDir string) error
Close closes ARC app VLC player and cleanup resources.
func (*Vlc) EnterAudioFolder ¶
EnterAudioFolder enters into audio folder.
func (*Vlc) Install ¶
Install installs Vlc app through Apk downloaded from "https://get.videolan.org/vlc-android", because the version installed from the play store will be inconsistent under different accounts. If the wrong version is installed, it will reinstall.
Click to show internal directories.
Click to hide internal directories.