screen

package
v0.0.0-...-41cedfc Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: BSD-3-Clause Imports: 1 Imported by: 1

Documentation

Overview

Package screen give access to user's display, or parts thereof, can be used as the source of a media stream using getDisplayMedia.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisplayMediaStreamConstraints

type DisplayMediaStreamConstraints struct {
	Video *Union
	Audio *Union
}

dictionary: DisplayMediaStreamConstraints

func DisplayMediaStreamConstraintsFromJS

func DisplayMediaStreamConstraintsFromJS(value js.Value) *DisplayMediaStreamConstraints

DisplayMediaStreamConstraintsFromJS is allocating a new DisplayMediaStreamConstraints object and copy all values in the value javascript object.

func (*DisplayMediaStreamConstraints) JSValue

func (_this *DisplayMediaStreamConstraints) JSValue() js.Value

JSValue is allocating a new javascript object and copy all values

type Union

type Union struct {
	Value js.Value
}

func UnionFromJS

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue

func (u *Union) JSValue() js.Value

Jump to

Keyboard shortcuts

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