webapi: github.com/gowebapi/webapi/media/capture/local Index | Files

package local

import "github.com/gowebapi/webapi/media/capture/local"

Package local is for requesting access to local multimedia devices, such as microphones or video cameras.

Index

Package Files

doc.go local.go

type Capabilities Uses

type Capabilities struct {
}

dictionary: Capabilities

func CapabilitiesFromJS Uses

func CapabilitiesFromJS(value js.Wrapper) *Capabilities

CapabilitiesFromJS is allocating a new Capabilities object and copy all values from input javascript object

func (*Capabilities) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type ConstrainBooleanParameters Uses

type ConstrainBooleanParameters struct {
    Exact bool
    Ideal bool
}

dictionary: ConstrainBooleanParameters

func ConstrainBooleanParametersFromJS Uses

func ConstrainBooleanParametersFromJS(value js.Wrapper) *ConstrainBooleanParameters

ConstrainBooleanParametersFromJS is allocating a new ConstrainBooleanParameters object and copy all values from input javascript object

func (*ConstrainBooleanParameters) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type ConstrainDOMStringParameters Uses

type ConstrainDOMStringParameters struct {
    Exact *Union
    Ideal *Union
}

dictionary: ConstrainDOMStringParameters

func ConstrainDOMStringParametersFromJS Uses

func ConstrainDOMStringParametersFromJS(value js.Wrapper) *ConstrainDOMStringParameters

ConstrainDOMStringParametersFromJS is allocating a new ConstrainDOMStringParameters object and copy all values from input javascript object

func (*ConstrainDOMStringParameters) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type ConstrainDoubleRange Uses

type ConstrainDoubleRange struct {
    Max   float64
    Min   float64
    Exact float64
    Ideal float64
}

dictionary: ConstrainDoubleRange

func ConstrainDoubleRangeFromJS Uses

func ConstrainDoubleRangeFromJS(value js.Wrapper) *ConstrainDoubleRange

ConstrainDoubleRangeFromJS is allocating a new ConstrainDoubleRange object and copy all values from input javascript object

func (*ConstrainDoubleRange) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type ConstrainULongRange Uses

type ConstrainULongRange struct {
    Max   uint
    Min   uint
    Exact uint
    Ideal uint
}

dictionary: ConstrainULongRange

func ConstrainULongRangeFromJS Uses

func ConstrainULongRangeFromJS(value js.Wrapper) *ConstrainULongRange

ConstrainULongRangeFromJS is allocating a new ConstrainULongRange object and copy all values from input javascript object

func (*ConstrainULongRange) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type ConstrainablePattern Uses

type ConstrainablePattern struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: ConstrainablePattern

func ConstrainablePatternFromJS Uses

func ConstrainablePatternFromJS(value js.Wrapper) *ConstrainablePattern

ConstrainablePatternFromJS is casting a js.Wrapper into ConstrainablePattern.

func (*ConstrainablePattern) AddEventOverConstrained Uses

func (_this *ConstrainablePattern) AddEventOverConstrained(listener func(event *domcore.Event, currentTarget *ConstrainablePattern)) js.Func

AddOverConstrained is adding doing AddEventListener for 'OverConstrained' on target. This method is returning allocated javascript function that need to be released.

func (*ConstrainablePattern) ApplyConstraints Uses

func (_this *ConstrainablePattern) ApplyConstraints(constraints *Constraints) (_result *javascript.PromiseVoid)

func (*ConstrainablePattern) GetCapabilities Uses

func (_this *ConstrainablePattern) GetCapabilities() (_result *Capabilities)

func (*ConstrainablePattern) GetConstraints Uses

func (_this *ConstrainablePattern) GetConstraints() (_result *Constraints)

func (*ConstrainablePattern) GetSettings Uses

func (_this *ConstrainablePattern) GetSettings() (_result *Settings)

func (*ConstrainablePattern) JSValue Uses

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

func (*ConstrainablePattern) OnOverConstrained Uses

func (_this *ConstrainablePattern) OnOverConstrained() domcore.EventHandlerFunc

OnOverConstrained returning attribute 'onoverconstrained' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*ConstrainablePattern) SetOnOverConstrained Uses

func (_this *ConstrainablePattern) SetOnOverConstrained(listener func(event *domcore.Event, currentTarget *ConstrainablePattern)) js.Func

SetOnOverConstrained is assigning a function to 'onoverconstrained'. This This method is returning allocated javascript function that need to be released.

type ConstraintSet Uses

type ConstraintSet struct {
}

dictionary: ConstraintSet

func ConstraintSetFromJS Uses

func ConstraintSetFromJS(value js.Wrapper) *ConstraintSet

ConstraintSetFromJS is allocating a new ConstraintSet object and copy all values from input javascript object

func (*ConstraintSet) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type Constraints Uses

type Constraints struct {
    Advanced []*ConstraintSet
}

dictionary: Constraints

func ConstraintsFromJS Uses

func ConstraintsFromJS(value js.Wrapper) *Constraints

ConstraintsFromJS is allocating a new Constraints object and copy all values from input javascript object

func (*Constraints) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type DoubleRange Uses

type DoubleRange struct {
    Max float64
    Min float64
}

dictionary: DoubleRange

func DoubleRangeFromJS Uses

func DoubleRangeFromJS(value js.Wrapper) *DoubleRange

DoubleRangeFromJS is allocating a new DoubleRange object and copy all values from input javascript object

func (*DoubleRange) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type InputDeviceInfo Uses

type InputDeviceInfo struct {
    MediaDeviceInfo
}

class: InputDeviceInfo

func InputDeviceInfoFromJS Uses

func InputDeviceInfoFromJS(value js.Wrapper) *InputDeviceInfo

InputDeviceInfoFromJS is casting a js.Wrapper into InputDeviceInfo.

func (*InputDeviceInfo) GetCapabilities Uses

func (_this *InputDeviceInfo) GetCapabilities() (_result *MediaTrackCapabilities)

type MediaDeviceInfo Uses

type MediaDeviceInfo struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: MediaDeviceInfo

func MediaDeviceInfoFromJS Uses

func MediaDeviceInfoFromJS(value js.Wrapper) *MediaDeviceInfo

MediaDeviceInfoFromJS is casting a js.Wrapper into MediaDeviceInfo.

func (*MediaDeviceInfo) DeviceId Uses

func (_this *MediaDeviceInfo) DeviceId() string

DeviceId returning attribute 'deviceId' with type string (idl: DOMString).

func (*MediaDeviceInfo) GroupId Uses

func (_this *MediaDeviceInfo) GroupId() string

GroupId returning attribute 'groupId' with type string (idl: DOMString).

func (*MediaDeviceInfo) JSValue Uses

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

func (*MediaDeviceInfo) Kind Uses

func (_this *MediaDeviceInfo) Kind() MediaDeviceKind

Kind returning attribute 'kind' with type MediaDeviceKind (idl: MediaDeviceKind).

func (*MediaDeviceInfo) Label Uses

func (_this *MediaDeviceInfo) Label() string

Label returning attribute 'label' with type string (idl: DOMString).

func (*MediaDeviceInfo) ToJSON Uses

func (_this *MediaDeviceInfo) ToJSON() (_result *javascript.Object)

type MediaDeviceKind Uses

type MediaDeviceKind int

enum: MediaDeviceKind

const (
    AudioinputMediaDeviceKind MediaDeviceKind = iota
    AudiooutputMediaDeviceKind
    VideoinputMediaDeviceKind
)

func MediaDeviceKindFromJS Uses

func MediaDeviceKindFromJS(value js.Value) MediaDeviceKind

MediaDeviceKindFromJS is converting a javascript value into a MediaDeviceKind enum value.

func (*MediaDeviceKind) JSValue Uses

func (this *MediaDeviceKind) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (MediaDeviceKind) Value Uses

func (this MediaDeviceKind) Value() string

Value is converting this into javascript defined string value

type MediaDevices Uses

type MediaDevices struct {
    domcore.EventTarget
}

class: MediaDevices

func MediaDevicesFromJS Uses

func MediaDevicesFromJS(value js.Wrapper) *MediaDevices

MediaDevicesFromJS is casting a js.Wrapper into MediaDevices.

func (*MediaDevices) AddEventDeviceChange Uses

func (_this *MediaDevices) AddEventDeviceChange(listener func(event *domcore.Event, currentTarget *MediaDevices)) js.Func

AddDeviceChange is adding doing AddEventListener for 'DeviceChange' on target. This method is returning allocated javascript function that need to be released.

func (*MediaDevices) EnumerateDevices Uses

func (_this *MediaDevices) EnumerateDevices() (_result *PromiseSequenceMediaDeviceInfo)

func (*MediaDevices) GetDisplayMedia Uses

func (_this *MediaDevices) GetDisplayMedia(constraints *screen.DisplayMediaStreamConstraints) (_result *PromiseMediaStream)

func (*MediaDevices) GetSupportedConstraints Uses

func (_this *MediaDevices) GetSupportedConstraints() (_result *MediaTrackSupportedConstraints)

func (*MediaDevices) GetUserMedia Uses

func (_this *MediaDevices) GetUserMedia(constraints *MediaStreamConstraints) (_result *PromiseMediaStream)

func (*MediaDevices) OnDeviceChange Uses

func (_this *MediaDevices) OnDeviceChange() domcore.EventHandlerFunc

OnDeviceChange returning attribute 'ondevicechange' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*MediaDevices) SetOnDeviceChange Uses

func (_this *MediaDevices) SetOnDeviceChange(listener func(event *domcore.Event, currentTarget *MediaDevices)) js.Func

SetOnDeviceChange is assigning a function to 'ondevicechange'. This This method is returning allocated javascript function that need to be released.

type MediaStream Uses

type MediaStream struct {
    domcore.EventTarget
}

class: MediaStream

func MediaStreamFromJS Uses

func MediaStreamFromJS(value js.Wrapper) *MediaStream

MediaStreamFromJS is casting a js.Wrapper into MediaStream.

func NewMediaStream Uses

func NewMediaStream(tracks []*MediaStreamTrack) (_result *MediaStream)

func (*MediaStream) Active Uses

func (_this *MediaStream) Active() bool

Active returning attribute 'active' with type bool (idl: boolean).

func (*MediaStream) AddEventAddTrack Uses

func (_this *MediaStream) AddEventAddTrack(listener func(event *MediaStreamTrackEvent, currentTarget *MediaStream)) js.Func

AddAddTrack is adding doing AddEventListener for 'AddTrack' on target. This method is returning allocated javascript function that need to be released.

func (*MediaStream) AddEventRemoveTrack Uses

func (_this *MediaStream) AddEventRemoveTrack(listener func(event *MediaStreamTrackEvent, currentTarget *MediaStream)) js.Func

AddRemoveTrack is adding doing AddEventListener for 'RemoveTrack' on target. This method is returning allocated javascript function that need to be released.

func (*MediaStream) AddTrack Uses

func (_this *MediaStream) AddTrack(track *MediaStreamTrack)

func (*MediaStream) Clone Uses

func (_this *MediaStream) Clone() (_result *MediaStream)

func (*MediaStream) GetAudioTracks Uses

func (_this *MediaStream) GetAudioTracks() (_result []*MediaStreamTrack)

func (*MediaStream) GetTrackById Uses

func (_this *MediaStream) GetTrackById(trackId string) (_result *MediaStreamTrack)

func (*MediaStream) GetTracks Uses

func (_this *MediaStream) GetTracks() (_result []*MediaStreamTrack)

func (*MediaStream) GetVideoTracks Uses

func (_this *MediaStream) GetVideoTracks() (_result []*MediaStreamTrack)

func (*MediaStream) Id Uses

func (_this *MediaStream) Id() string

Id returning attribute 'id' with type string (idl: DOMString).

func (*MediaStream) OnAddTrack Uses

func (_this *MediaStream) OnAddTrack() domcore.EventHandlerFunc

OnAddTrack returning attribute 'onaddtrack' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*MediaStream) OnRemoveTrack Uses

func (_this *MediaStream) OnRemoveTrack() domcore.EventHandlerFunc

OnRemoveTrack returning attribute 'onremovetrack' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*MediaStream) RemoveTrack Uses

func (_this *MediaStream) RemoveTrack(track *MediaStreamTrack)

func (*MediaStream) SetOnAddTrack Uses

func (_this *MediaStream) SetOnAddTrack(listener func(event *MediaStreamTrackEvent, currentTarget *MediaStream)) js.Func

SetOnAddTrack is assigning a function to 'onaddtrack'. This This method is returning allocated javascript function that need to be released.

func (*MediaStream) SetOnRemoveTrack Uses

func (_this *MediaStream) SetOnRemoveTrack(listener func(event *MediaStreamTrackEvent, currentTarget *MediaStream)) js.Func

SetOnRemoveTrack is assigning a function to 'onremovetrack'. This This method is returning allocated javascript function that need to be released.

type MediaStreamConstraints Uses

type MediaStreamConstraints struct {
    Video *Union
    Audio *Union
}

dictionary: MediaStreamConstraints

func MediaStreamConstraintsFromJS Uses

func MediaStreamConstraintsFromJS(value js.Wrapper) *MediaStreamConstraints

MediaStreamConstraintsFromJS is allocating a new MediaStreamConstraints object and copy all values from input javascript object

func (*MediaStreamConstraints) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type MediaStreamTrack Uses

type MediaStreamTrack struct {
    domcore.EventTarget
}

class: MediaStreamTrack

func MediaStreamTrackFromJS Uses

func MediaStreamTrackFromJS(value js.Wrapper) *MediaStreamTrack

MediaStreamTrackFromJS is casting a js.Wrapper into MediaStreamTrack.

func (*MediaStreamTrack) AddEventEnded Uses

func (_this *MediaStreamTrack) AddEventEnded(listener func(event *domcore.Event, currentTarget *MediaStreamTrack)) js.Func

AddEnded is adding doing AddEventListener for 'Ended' on target. This method is returning allocated javascript function that need to be released.

func (*MediaStreamTrack) AddEventMute Uses

func (_this *MediaStreamTrack) AddEventMute(listener func(event *domcore.Event, currentTarget *MediaStreamTrack)) js.Func

AddMute is adding doing AddEventListener for 'Mute' on target. This method is returning allocated javascript function that need to be released.

func (*MediaStreamTrack) AddEventOverConstrained Uses

func (_this *MediaStreamTrack) AddEventOverConstrained(listener func(event *domcore.Event, currentTarget *MediaStreamTrack)) js.Func

AddOverConstrained is adding doing AddEventListener for 'OverConstrained' on target. This method is returning allocated javascript function that need to be released.

func (*MediaStreamTrack) AddEventUnmute Uses

func (_this *MediaStreamTrack) AddEventUnmute(listener func(event *domcore.Event, currentTarget *MediaStreamTrack)) js.Func

AddUnmute is adding doing AddEventListener for 'Unmute' on target. This method is returning allocated javascript function that need to be released.

func (*MediaStreamTrack) ApplyConstraints Uses

func (_this *MediaStreamTrack) ApplyConstraints(constraints *MediaTrackConstraints) (_result *javascript.PromiseVoid)

func (*MediaStreamTrack) Clone Uses

func (_this *MediaStreamTrack) Clone() (_result *MediaStreamTrack)

func (*MediaStreamTrack) ContentHint Uses

func (_this *MediaStreamTrack) ContentHint() string

ContentHint returning attribute 'contentHint' with type string (idl: DOMString).

func (*MediaStreamTrack) Enabled Uses

func (_this *MediaStreamTrack) Enabled() bool

Enabled returning attribute 'enabled' with type bool (idl: boolean).

func (*MediaStreamTrack) GetCapabilities Uses

func (_this *MediaStreamTrack) GetCapabilities() (_result *MediaTrackCapabilities)

func (*MediaStreamTrack) GetConstraints Uses

func (_this *MediaStreamTrack) GetConstraints() (_result *MediaTrackConstraints)

func (*MediaStreamTrack) GetSettings Uses

func (_this *MediaStreamTrack) GetSettings() (_result *MediaTrackSettings)

func (*MediaStreamTrack) Id Uses

func (_this *MediaStreamTrack) Id() string

Id returning attribute 'id' with type string (idl: DOMString).

func (*MediaStreamTrack) Kind Uses

func (_this *MediaStreamTrack) Kind() string

Kind returning attribute 'kind' with type string (idl: DOMString).

func (*MediaStreamTrack) Label Uses

func (_this *MediaStreamTrack) Label() string

Label returning attribute 'label' with type string (idl: DOMString).

func (*MediaStreamTrack) Muted Uses

func (_this *MediaStreamTrack) Muted() bool

Muted returning attribute 'muted' with type bool (idl: boolean).

func (*MediaStreamTrack) OnEnded Uses

func (_this *MediaStreamTrack) OnEnded() domcore.EventHandlerFunc

OnEnded returning attribute 'onended' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*MediaStreamTrack) OnMute Uses

func (_this *MediaStreamTrack) OnMute() domcore.EventHandlerFunc

OnMute returning attribute 'onmute' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*MediaStreamTrack) OnOverConstrained Uses

func (_this *MediaStreamTrack) OnOverConstrained() domcore.EventHandlerFunc

OnOverConstrained returning attribute 'onoverconstrained' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*MediaStreamTrack) OnUnmute Uses

func (_this *MediaStreamTrack) OnUnmute() domcore.EventHandlerFunc

OnUnmute returning attribute 'onunmute' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*MediaStreamTrack) ReadyState Uses

func (_this *MediaStreamTrack) ReadyState() MediaStreamTrackState

ReadyState returning attribute 'readyState' with type MediaStreamTrackState (idl: MediaStreamTrackState).

func (*MediaStreamTrack) SetContentHint Uses

func (_this *MediaStreamTrack) SetContentHint(value string)

SetContentHint setting attribute 'contentHint' with type string (idl: DOMString).

func (*MediaStreamTrack) SetEnabled Uses

func (_this *MediaStreamTrack) SetEnabled(value bool)

SetEnabled setting attribute 'enabled' with type bool (idl: boolean).

func (*MediaStreamTrack) SetOnEnded Uses

func (_this *MediaStreamTrack) SetOnEnded(listener func(event *domcore.Event, currentTarget *MediaStreamTrack)) js.Func

SetOnEnded is assigning a function to 'onended'. This This method is returning allocated javascript function that need to be released.

func (*MediaStreamTrack) SetOnMute Uses

func (_this *MediaStreamTrack) SetOnMute(listener func(event *domcore.Event, currentTarget *MediaStreamTrack)) js.Func

SetOnMute is assigning a function to 'onmute'. This This method is returning allocated javascript function that need to be released.

func (*MediaStreamTrack) SetOnOverConstrained Uses

func (_this *MediaStreamTrack) SetOnOverConstrained(listener func(event *domcore.Event, currentTarget *MediaStreamTrack)) js.Func

SetOnOverConstrained is assigning a function to 'onoverconstrained'. This This method is returning allocated javascript function that need to be released.

func (*MediaStreamTrack) SetOnUnmute Uses

func (_this *MediaStreamTrack) SetOnUnmute(listener func(event *domcore.Event, currentTarget *MediaStreamTrack)) js.Func

SetOnUnmute is assigning a function to 'onunmute'. This This method is returning allocated javascript function that need to be released.

func (*MediaStreamTrack) Stop Uses

func (_this *MediaStreamTrack) Stop()

type MediaStreamTrackEvent Uses

type MediaStreamTrackEvent struct {
    domcore.Event
}

class: MediaStreamTrackEvent

func MediaStreamTrackEventFromJS Uses

func MediaStreamTrackEventFromJS(value js.Wrapper) *MediaStreamTrackEvent

MediaStreamTrackEventFromJS is casting a js.Wrapper into MediaStreamTrackEvent.

func NewMediaStreamTrackEvent Uses

func NewMediaStreamTrackEvent(_type string, eventInitDict *MediaStreamTrackEventInit) (_result *MediaStreamTrackEvent)

func (*MediaStreamTrackEvent) Track Uses

func (_this *MediaStreamTrackEvent) Track() *MediaStreamTrack

Track returning attribute 'track' with type MediaStreamTrack (idl: MediaStreamTrack).

type MediaStreamTrackEventInit Uses

type MediaStreamTrackEventInit struct {
    Bubbles    bool
    Cancelable bool
    Composed   bool
    Track      *MediaStreamTrack
}

dictionary: MediaStreamTrackEventInit

func MediaStreamTrackEventInitFromJS Uses

func MediaStreamTrackEventInitFromJS(value js.Wrapper) *MediaStreamTrackEventInit

MediaStreamTrackEventInitFromJS is allocating a new MediaStreamTrackEventInit object and copy all values from input javascript object

func (*MediaStreamTrackEventInit) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type MediaStreamTrackState Uses

type MediaStreamTrackState int

enum: MediaStreamTrackState

const (
    LiveMediaStreamTrackState MediaStreamTrackState = iota
    EndedMediaStreamTrackState
)

func MediaStreamTrackStateFromJS Uses

func MediaStreamTrackStateFromJS(value js.Value) MediaStreamTrackState

MediaStreamTrackStateFromJS is converting a javascript value into a MediaStreamTrackState enum value.

func (*MediaStreamTrackState) JSValue Uses

func (this *MediaStreamTrackState) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (MediaStreamTrackState) Value Uses

func (this MediaStreamTrackState) Value() string

Value is converting this into javascript defined string value

type MediaTrackCapabilities Uses

type MediaTrackCapabilities struct {
    Width                              *ULongRange
    Height                             *ULongRange
    AspectRatio                        *DoubleRange
    FrameRate                          *DoubleRange
    FacingMode                         []string
    ResizeMode                         []string
    Volume                             *DoubleRange
    SampleRate                         *ULongRange
    SampleSize                         *ULongRange
    EchoCancellation                   []bool
    AutoGainControl                    []bool
    NoiseSuppression                   []bool
    Latency                            *DoubleRange
    ChannelCount                       *ULongRange
    DeviceId                           string
    GroupId                            string
    WhiteBalanceMode                   []string
    ExposureMode                       []string
    FocusMode                          []string
    ExposureCompensation               *mediatype.MediaSettingsRange
    ExposureTime                       *mediatype.MediaSettingsRange
    ColorTemperature                   *mediatype.MediaSettingsRange
    Iso                                *mediatype.MediaSettingsRange
    Brightness                         *mediatype.MediaSettingsRange
    Contrast                           *mediatype.MediaSettingsRange
    Saturation                         *mediatype.MediaSettingsRange
    Sharpness                          *mediatype.MediaSettingsRange
    FocusDistance                      *mediatype.MediaSettingsRange
    Zoom                               *mediatype.MediaSettingsRange
    Torch                              bool
    VideoKind                          string
    FocalLengthX                       *Union
    FocalLengthY                       *Union
    PrincipalPointX                    *Union
    PrincipalPointY                    *Union
    DeprojectionDistortionCoefficients bool
    ProjectionDistortionCoefficients   bool
    DepthNear                          *Union
    DepthFar                           *Union
    DepthToVideoTransform              bool
}

dictionary: MediaTrackCapabilities

func MediaTrackCapabilitiesFromJS Uses

func MediaTrackCapabilitiesFromJS(value js.Wrapper) *MediaTrackCapabilities

MediaTrackCapabilitiesFromJS is allocating a new MediaTrackCapabilities object and copy all values from input javascript object

func (*MediaTrackCapabilities) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type MediaTrackConstraintSet Uses

type MediaTrackConstraintSet struct {
    Width                              *Union
    Height                             *Union
    AspectRatio                        *Union
    FrameRate                          *Union
    FacingMode                         *Union
    ResizeMode                         *Union
    Volume                             *Union
    SampleRate                         *Union
    SampleSize                         *Union
    EchoCancellation                   *Union
    AutoGainControl                    *Union
    NoiseSuppression                   *Union
    Latency                            *Union
    ChannelCount                       *Union
    DeviceId                           *Union
    GroupId                            *Union
    WhiteBalanceMode                   *Union
    ExposureMode                       *Union
    FocusMode                          *Union
    PointsOfInterest                   *Union
    ExposureCompensation               *Union
    ExposureTime                       *Union
    ColorTemperature                   *Union
    Iso                                *Union
    Brightness                         *Union
    Contrast                           *Union
    Saturation                         *Union
    Sharpness                          *Union
    FocusDistance                      *Union
    Zoom                               *Union
    Torch                              *Union
    VideoKind                          *Union
    FocalLengthX                       *Union
    FocalLengthY                       *Union
    PrincipalPointX                    *Union
    PrincipalPointY                    *Union
    DeprojectionDistortionCoefficients *Union
    ProjectionDistortionCoefficients   *Union
    DepthNear                          *Union
    DepthFar                           *Union
    DepthToVideoTransform              *Union
    DisplaySurface                     *Union
    LogicalSurface                     *Union
    Cursor                             *Union
}

dictionary: MediaTrackConstraintSet

func MediaTrackConstraintSetFromJS Uses

func MediaTrackConstraintSetFromJS(value js.Wrapper) *MediaTrackConstraintSet

MediaTrackConstraintSetFromJS is allocating a new MediaTrackConstraintSet object and copy all values from input javascript object

func (*MediaTrackConstraintSet) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type MediaTrackConstraints Uses

type MediaTrackConstraints struct {
    Width                              *Union
    Height                             *Union
    AspectRatio                        *Union
    FrameRate                          *Union
    FacingMode                         *Union
    ResizeMode                         *Union
    Volume                             *Union
    SampleRate                         *Union
    SampleSize                         *Union
    EchoCancellation                   *Union
    AutoGainControl                    *Union
    NoiseSuppression                   *Union
    Latency                            *Union
    ChannelCount                       *Union
    DeviceId                           *Union
    GroupId                            *Union
    WhiteBalanceMode                   *Union
    ExposureMode                       *Union
    FocusMode                          *Union
    PointsOfInterest                   *Union
    ExposureCompensation               *Union
    ExposureTime                       *Union
    ColorTemperature                   *Union
    Iso                                *Union
    Brightness                         *Union
    Contrast                           *Union
    Saturation                         *Union
    Sharpness                          *Union
    FocusDistance                      *Union
    Zoom                               *Union
    Torch                              *Union
    VideoKind                          *Union
    FocalLengthX                       *Union
    FocalLengthY                       *Union
    PrincipalPointX                    *Union
    PrincipalPointY                    *Union
    DeprojectionDistortionCoefficients *Union
    ProjectionDistortionCoefficients   *Union
    DepthNear                          *Union
    DepthFar                           *Union
    DepthToVideoTransform              *Union
    DisplaySurface                     *Union
    LogicalSurface                     *Union
    Cursor                             *Union
    Advanced                           []*MediaTrackConstraintSet
}

dictionary: MediaTrackConstraints

func MediaTrackConstraintsFromJS Uses

func MediaTrackConstraintsFromJS(value js.Wrapper) *MediaTrackConstraints

MediaTrackConstraintsFromJS is allocating a new MediaTrackConstraints object and copy all values from input javascript object

func (*MediaTrackConstraints) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type MediaTrackSettings Uses

type MediaTrackSettings struct {
    Width                              int
    Height                             int
    AspectRatio                        float64
    FrameRate                          float64
    FacingMode                         string
    ResizeMode                         string
    Volume                             float64
    SampleRate                         int
    SampleSize                         int
    EchoCancellation                   bool
    AutoGainControl                    bool
    NoiseSuppression                   bool
    Latency                            float64
    ChannelCount                       int
    DeviceId                           string
    GroupId                            string
    WhiteBalanceMode                   string
    ExposureMode                       string
    FocusMode                          string
    PointsOfInterest                   []*mediatype.Point2D
    ExposureCompensation               float64
    ExposureTime                       float64
    ColorTemperature                   float64
    Iso                                float64
    Brightness                         float64
    Contrast                           float64
    Saturation                         float64
    Sharpness                          float64
    FocusDistance                      float64
    Zoom                               float64
    Torch                              bool
    VideoKind                          string
    FocalLengthX                       float64
    FocalLengthY                       float64
    PrincipalPointX                    float64
    PrincipalPointY                    float64
    DeprojectionDistortionCoefficients *depth.DistortionCoefficients
    ProjectionDistortionCoefficients   *depth.DistortionCoefficients
    DepthNear                          float64
    DepthFar                           float64
    DepthToVideoTransform              *depth.Transformation
    DisplaySurface                     string
    LogicalSurface                     bool
    Cursor                             string
}

dictionary: MediaTrackSettings

func MediaTrackSettingsFromJS Uses

func MediaTrackSettingsFromJS(value js.Wrapper) *MediaTrackSettings

MediaTrackSettingsFromJS is allocating a new MediaTrackSettings object and copy all values from input javascript object

func (*MediaTrackSettings) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type MediaTrackSupportedConstraints Uses

type MediaTrackSupportedConstraints struct {
    Width                              bool
    Height                             bool
    AspectRatio                        bool
    FrameRate                          bool
    FacingMode                         bool
    ResizeMode                         bool
    Volume                             bool
    SampleRate                         bool
    SampleSize                         bool
    EchoCancellation                   bool
    AutoGainControl                    bool
    NoiseSuppression                   bool
    Latency                            bool
    ChannelCount                       bool
    DeviceId                           bool
    GroupId                            bool
    WhiteBalanceMode                   bool
    ExposureMode                       bool
    FocusMode                          bool
    PointsOfInterest                   bool
    ExposureCompensation               bool
    ExposureTime                       bool
    ColorTemperature                   bool
    Iso                                bool
    Brightness                         bool
    Contrast                           bool
    Saturation                         bool
    Sharpness                          bool
    FocusDistance                      bool
    Zoom                               bool
    Torch                              bool
    VideoKind                          bool
    FocalLengthX                       bool
    FocalLengthY                       bool
    PrincipalPointX                    bool
    PrincipalPointY                    bool
    DeprojectionDistortionCoefficients bool
    ProjectionDistortionCoefficients   bool
    DepthNear                          bool
    DepthFar                           bool
    DepthToVideoTransform              bool
    DisplaySurface                     bool
    LogicalSurface                     bool
    Cursor                             bool
}

dictionary: MediaTrackSupportedConstraints

func MediaTrackSupportedConstraintsFromJS Uses

func MediaTrackSupportedConstraintsFromJS(value js.Wrapper) *MediaTrackSupportedConstraints

MediaTrackSupportedConstraintsFromJS is allocating a new MediaTrackSupportedConstraints object and copy all values from input javascript object

func (*MediaTrackSupportedConstraints) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type NavigatorUserMediaErrorCallback js.Func

NavigatorUserMediaErrorCallback is a javascript function type.

Call Release() when done to release resouces allocated to this type.

func NavigatorUserMediaErrorCallbackToJS(callback NavigatorUserMediaErrorCallbackFunc) *NavigatorUserMediaErrorCallback
type NavigatorUserMediaErrorCallbackFunc func(_error *javascript.Object)

callback: NavigatorUserMediaErrorCallback

func NavigatorUserMediaErrorCallbackFromJS(_value js.Value) NavigatorUserMediaErrorCallbackFunc
type NavigatorUserMediaSuccessCallback js.Func

NavigatorUserMediaSuccessCallback is a javascript function type.

Call Release() when done to release resouces allocated to this type.

func NavigatorUserMediaSuccessCallbackToJS(callback NavigatorUserMediaSuccessCallbackFunc) *NavigatorUserMediaSuccessCallback
type NavigatorUserMediaSuccessCallbackFunc func(stream *MediaStream)

callback: NavigatorUserMediaSuccessCallback

func NavigatorUserMediaSuccessCallbackFromJS(_value js.Value) NavigatorUserMediaSuccessCallbackFunc

type OverconstrainedErrorEvent Uses

type OverconstrainedErrorEvent struct {
    domcore.Event
}

class: OverconstrainedErrorEvent

func NewOverconstrainedErrorEvent Uses

func NewOverconstrainedErrorEvent(_type string, eventInitDict *OverconstrainedErrorEventInit) (_result *OverconstrainedErrorEvent)

func OverconstrainedErrorEventFromJS Uses

func OverconstrainedErrorEventFromJS(value js.Wrapper) *OverconstrainedErrorEvent

OverconstrainedErrorEventFromJS is casting a js.Wrapper into OverconstrainedErrorEvent.

func (*OverconstrainedErrorEvent) Error Uses

func (_this *OverconstrainedErrorEvent) Error() *patch.OverconstrainedError

Error returning attribute 'error' with type patch.OverconstrainedError (idl: OverconstrainedError).

type OverconstrainedErrorEventInit Uses

type OverconstrainedErrorEventInit struct {
    Bubbles    bool
    Cancelable bool
    Composed   bool
    Error      *patch.OverconstrainedError
}

dictionary: OverconstrainedErrorEventInit

func OverconstrainedErrorEventInitFromJS Uses

func OverconstrainedErrorEventInitFromJS(value js.Wrapper) *OverconstrainedErrorEventInit

OverconstrainedErrorEventInitFromJS is allocating a new OverconstrainedErrorEventInit object and copy all values from input javascript object

func (*OverconstrainedErrorEventInit) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type PromiseMediaStream Uses

type PromiseMediaStream struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Promise

func PromiseMediaStreamFromJS Uses

func PromiseMediaStreamFromJS(value js.Wrapper) *PromiseMediaStream

PromiseMediaStreamFromJS is casting a js.Wrapper into PromiseMediaStream.

func (*PromiseMediaStream) Catch Uses

func (_this *PromiseMediaStream) Catch(onRejected *PromiseMediaStreamOnRejected) (_result *PromiseMediaStream)

func (*PromiseMediaStream) Finally Uses

func (_this *PromiseMediaStream) Finally(onFinally *javascript.PromiseFinally) (_result *PromiseMediaStream)

func (*PromiseMediaStream) JSValue Uses

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

func (*PromiseMediaStream) Then Uses

func (_this *PromiseMediaStream) Then(onFulfilled *PromiseMediaStreamOnFulfilled, onRejected *PromiseMediaStreamOnRejected) (_result *PromiseMediaStream)

type PromiseMediaStreamOnFulfilled Uses

type PromiseMediaStreamOnFulfilled js.Func

PromiseMediaStreamOnFulfilled is a javascript function type.

Call Release() when done to release resouces allocated to this type.

func PromiseMediaStreamOnFulfilledToJS Uses

func PromiseMediaStreamOnFulfilledToJS(callback PromiseMediaStreamOnFulfilledFunc) *PromiseMediaStreamOnFulfilled

type PromiseMediaStreamOnFulfilledFunc Uses

type PromiseMediaStreamOnFulfilledFunc func(value *MediaStream)

callback: PromiseTemplateOnFulfilled

func PromiseMediaStreamOnFulfilledFromJS Uses

func PromiseMediaStreamOnFulfilledFromJS(_value js.Value) PromiseMediaStreamOnFulfilledFunc

type PromiseMediaStreamOnRejected Uses

type PromiseMediaStreamOnRejected js.Func

PromiseMediaStreamOnRejected is a javascript function type.

Call Release() when done to release resouces allocated to this type.

func PromiseMediaStreamOnRejectedToJS Uses

func PromiseMediaStreamOnRejectedToJS(callback PromiseMediaStreamOnRejectedFunc) *PromiseMediaStreamOnRejected

type PromiseMediaStreamOnRejectedFunc Uses

type PromiseMediaStreamOnRejectedFunc func(reason js.Value)

callback: PromiseTemplateOnRejected

func PromiseMediaStreamOnRejectedFromJS Uses

func PromiseMediaStreamOnRejectedFromJS(_value js.Value) PromiseMediaStreamOnRejectedFunc

type PromiseSequenceMediaDeviceInfo Uses

type PromiseSequenceMediaDeviceInfo struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: Promise

func PromiseSequenceMediaDeviceInfoFromJS Uses

func PromiseSequenceMediaDeviceInfoFromJS(value js.Wrapper) *PromiseSequenceMediaDeviceInfo

PromiseSequenceMediaDeviceInfoFromJS is casting a js.Wrapper into PromiseSequenceMediaDeviceInfo.

func (*PromiseSequenceMediaDeviceInfo) Catch Uses

func (_this *PromiseSequenceMediaDeviceInfo) Catch(onRejected *PromiseSequenceMediaDeviceInfoOnRejected) (_result *PromiseSequenceMediaDeviceInfo)

func (*PromiseSequenceMediaDeviceInfo) Finally Uses

func (_this *PromiseSequenceMediaDeviceInfo) Finally(onFinally *javascript.PromiseFinally) (_result *PromiseSequenceMediaDeviceInfo)

func (*PromiseSequenceMediaDeviceInfo) JSValue Uses

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

func (*PromiseSequenceMediaDeviceInfo) Then Uses

func (_this *PromiseSequenceMediaDeviceInfo) Then(onFulfilled *PromiseSequenceMediaDeviceInfoOnFulfilled, onRejected *PromiseSequenceMediaDeviceInfoOnRejected) (_result *PromiseSequenceMediaDeviceInfo)

type PromiseSequenceMediaDeviceInfoOnFulfilled Uses

type PromiseSequenceMediaDeviceInfoOnFulfilled js.Func

PromiseSequenceMediaDeviceInfoOnFulfilled is a javascript function type.

Call Release() when done to release resouces allocated to this type.

func PromiseSequenceMediaDeviceInfoOnFulfilledToJS Uses

func PromiseSequenceMediaDeviceInfoOnFulfilledToJS(callback PromiseSequenceMediaDeviceInfoOnFulfilledFunc) *PromiseSequenceMediaDeviceInfoOnFulfilled

type PromiseSequenceMediaDeviceInfoOnFulfilledFunc Uses

type PromiseSequenceMediaDeviceInfoOnFulfilledFunc func(value []*MediaDeviceInfo)

callback: PromiseTemplateOnFulfilled

func PromiseSequenceMediaDeviceInfoOnFulfilledFromJS Uses

func PromiseSequenceMediaDeviceInfoOnFulfilledFromJS(_value js.Value) PromiseSequenceMediaDeviceInfoOnFulfilledFunc

type PromiseSequenceMediaDeviceInfoOnRejected Uses

type PromiseSequenceMediaDeviceInfoOnRejected js.Func

PromiseSequenceMediaDeviceInfoOnRejected is a javascript function type.

Call Release() when done to release resouces allocated to this type.

func PromiseSequenceMediaDeviceInfoOnRejectedToJS Uses

func PromiseSequenceMediaDeviceInfoOnRejectedToJS(callback PromiseSequenceMediaDeviceInfoOnRejectedFunc) *PromiseSequenceMediaDeviceInfoOnRejected

type PromiseSequenceMediaDeviceInfoOnRejectedFunc Uses

type PromiseSequenceMediaDeviceInfoOnRejectedFunc func(reason js.Value)

callback: PromiseTemplateOnRejected

func PromiseSequenceMediaDeviceInfoOnRejectedFromJS Uses

func PromiseSequenceMediaDeviceInfoOnRejectedFromJS(_value js.Value) PromiseSequenceMediaDeviceInfoOnRejectedFunc

type Settings Uses

type Settings struct {
}

dictionary: Settings

func SettingsFromJS Uses

func SettingsFromJS(value js.Wrapper) *Settings

SettingsFromJS is allocating a new Settings object and copy all values from input javascript object

func (*Settings) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type ULongRange Uses

type ULongRange struct {
    Max uint
    Min uint
}

dictionary: ULongRange

func ULongRangeFromJS Uses

func ULongRangeFromJS(value js.Wrapper) *ULongRange

ULongRangeFromJS is allocating a new ULongRange object and copy all values from input javascript object

func (*ULongRange) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type Union Uses

type Union struct {
    Value js.Value
}

func UnionFromJS Uses

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue Uses

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

Package local imports 7 packages (graph) and is imported by 8 packages. Updated 2019-09-19. Refresh now. Tools for package owners.