Documentation ¶
Overview ¶
Package local is for requesting access to local multimedia devices, such as microphones or video cameras.
Index ¶
- type Capabilities
- type ConstrainBooleanParameters
- type ConstrainDOMStringParameters
- type ConstrainDoubleRange
- type ConstrainULongRange
- type ConstrainablePattern
- func (_this *ConstrainablePattern) AddEventOverConstrained(listener func(event *domcore.Event, currentTarget *ConstrainablePattern)) js.Func
- func (_this *ConstrainablePattern) ApplyConstraints(constraints *Constraints) (_result *javascript.PromiseVoid)
- func (_this *ConstrainablePattern) GetCapabilities() (_result *Capabilities)
- func (_this *ConstrainablePattern) GetConstraints() (_result *Constraints)
- func (_this *ConstrainablePattern) GetSettings() (_result *Settings)
- func (_this *ConstrainablePattern) JSValue() js.Value
- func (_this *ConstrainablePattern) OnOverConstrained() domcore.EventHandlerFunc
- func (_this *ConstrainablePattern) SetOnOverConstrained(listener func(event *domcore.Event, currentTarget *ConstrainablePattern)) js.Func
- type ConstraintSet
- type Constraints
- type DoubleRange
- type InputDeviceInfo
- type MediaDeviceInfo
- func (_this *MediaDeviceInfo) DeviceId() string
- func (_this *MediaDeviceInfo) GroupId() string
- func (_this *MediaDeviceInfo) JSValue() js.Value
- func (_this *MediaDeviceInfo) Kind() MediaDeviceKind
- func (_this *MediaDeviceInfo) Label() string
- func (_this *MediaDeviceInfo) ToJSON() (_result *javascript.Object)
- type MediaDeviceKind
- type MediaDevices
- func (_this *MediaDevices) AddEventDeviceChange(listener func(event *domcore.Event, currentTarget *MediaDevices)) js.Func
- func (_this *MediaDevices) EnumerateDevices() (_result *PromiseSequenceMediaDeviceInfo)
- func (_this *MediaDevices) GetDisplayMedia(constraints *screen.DisplayMediaStreamConstraints) (_result *PromiseMediaStream)
- func (_this *MediaDevices) GetSupportedConstraints() (_result *MediaTrackSupportedConstraints)
- func (_this *MediaDevices) GetUserMedia(constraints *MediaStreamConstraints) (_result *PromiseMediaStream)
- func (_this *MediaDevices) OnDeviceChange() domcore.EventHandlerFunc
- func (_this *MediaDevices) SetOnDeviceChange(listener func(event *domcore.Event, currentTarget *MediaDevices)) js.Func
- type MediaStream
- func (_this *MediaStream) Active() bool
- func (_this *MediaStream) AddEventAddTrack(listener func(event *MediaStreamTrackEvent, currentTarget *MediaStream)) js.Func
- func (_this *MediaStream) AddEventRemoveTrack(listener func(event *MediaStreamTrackEvent, currentTarget *MediaStream)) js.Func
- func (_this *MediaStream) AddTrack(track *MediaStreamTrack)
- func (_this *MediaStream) Clone() (_result *MediaStream)
- func (_this *MediaStream) GetAudioTracks() (_result []*MediaStreamTrack)
- func (_this *MediaStream) GetTrackById(trackId string) (_result *MediaStreamTrack)
- func (_this *MediaStream) GetTracks() (_result []*MediaStreamTrack)
- func (_this *MediaStream) GetVideoTracks() (_result []*MediaStreamTrack)
- func (_this *MediaStream) Id() string
- func (_this *MediaStream) OnAddTrack() domcore.EventHandlerFunc
- func (_this *MediaStream) OnRemoveTrack() domcore.EventHandlerFunc
- func (_this *MediaStream) RemoveTrack(track *MediaStreamTrack)
- func (_this *MediaStream) SetOnAddTrack(listener func(event *MediaStreamTrackEvent, currentTarget *MediaStream)) js.Func
- func (_this *MediaStream) SetOnRemoveTrack(listener func(event *MediaStreamTrackEvent, currentTarget *MediaStream)) js.Func
- type MediaStreamConstraints
- type MediaStreamTrack
- func (_this *MediaStreamTrack) AddEventEnded(listener func(event *domcore.Event, currentTarget *MediaStreamTrack)) js.Func
- func (_this *MediaStreamTrack) AddEventMute(listener func(event *domcore.Event, currentTarget *MediaStreamTrack)) js.Func
- func (_this *MediaStreamTrack) AddEventOverConstrained(listener func(event *domcore.Event, currentTarget *MediaStreamTrack)) js.Func
- func (_this *MediaStreamTrack) AddEventUnmute(listener func(event *domcore.Event, currentTarget *MediaStreamTrack)) js.Func
- func (_this *MediaStreamTrack) ApplyConstraints(constraints *MediaTrackConstraints) (_result *javascript.PromiseVoid)
- func (_this *MediaStreamTrack) Clone() (_result *MediaStreamTrack)
- func (_this *MediaStreamTrack) ContentHint() string
- func (_this *MediaStreamTrack) Enabled() bool
- func (_this *MediaStreamTrack) GetCapabilities() (_result *MediaTrackCapabilities)
- func (_this *MediaStreamTrack) GetConstraints() (_result *MediaTrackConstraints)
- func (_this *MediaStreamTrack) GetSettings() (_result *MediaTrackSettings)
- func (_this *MediaStreamTrack) Id() string
- func (_this *MediaStreamTrack) Kind() string
- func (_this *MediaStreamTrack) Label() string
- func (_this *MediaStreamTrack) Muted() bool
- func (_this *MediaStreamTrack) OnEnded() domcore.EventHandlerFunc
- func (_this *MediaStreamTrack) OnMute() domcore.EventHandlerFunc
- func (_this *MediaStreamTrack) OnOverConstrained() domcore.EventHandlerFunc
- func (_this *MediaStreamTrack) OnUnmute() domcore.EventHandlerFunc
- func (_this *MediaStreamTrack) ReadyState() MediaStreamTrackState
- func (_this *MediaStreamTrack) SetContentHint(value string)
- func (_this *MediaStreamTrack) SetEnabled(value bool)
- func (_this *MediaStreamTrack) SetOnEnded(listener func(event *domcore.Event, currentTarget *MediaStreamTrack)) js.Func
- func (_this *MediaStreamTrack) SetOnMute(listener func(event *domcore.Event, currentTarget *MediaStreamTrack)) js.Func
- func (_this *MediaStreamTrack) SetOnOverConstrained(listener func(event *domcore.Event, currentTarget *MediaStreamTrack)) js.Func
- func (_this *MediaStreamTrack) SetOnUnmute(listener func(event *domcore.Event, currentTarget *MediaStreamTrack)) js.Func
- func (_this *MediaStreamTrack) Stop()
- type MediaStreamTrackEvent
- type MediaStreamTrackEventInit
- type MediaStreamTrackState
- type MediaTrackCapabilities
- type MediaTrackConstraintSet
- type MediaTrackConstraints
- type MediaTrackSettings
- type MediaTrackSupportedConstraints
- type NavigatorUserMediaErrorCallback
- type NavigatorUserMediaErrorCallbackFunc
- type NavigatorUserMediaSuccessCallback
- type NavigatorUserMediaSuccessCallbackFunc
- type OverconstrainedErrorEvent
- type OverconstrainedErrorEventInit
- type PromiseMediaStream
- func (_this *PromiseMediaStream) Catch(onRejected *PromiseMediaStreamOnRejected) (_result *PromiseMediaStream)
- func (_this *PromiseMediaStream) Finally(onFinally *javascript.PromiseFinally) (_result *PromiseMediaStream)
- func (_this *PromiseMediaStream) JSValue() js.Value
- func (_this *PromiseMediaStream) Then(onFulfilled *PromiseMediaStreamOnFulfilled, ...) (_result *PromiseMediaStream)
- type PromiseMediaStreamOnFulfilled
- type PromiseMediaStreamOnFulfilledFunc
- type PromiseMediaStreamOnRejected
- type PromiseMediaStreamOnRejectedFunc
- type PromiseSequenceMediaDeviceInfo
- func (_this *PromiseSequenceMediaDeviceInfo) Catch(onRejected *PromiseSequenceMediaDeviceInfoOnRejected) (_result *PromiseSequenceMediaDeviceInfo)
- func (_this *PromiseSequenceMediaDeviceInfo) Finally(onFinally *javascript.PromiseFinally) (_result *PromiseSequenceMediaDeviceInfo)
- func (_this *PromiseSequenceMediaDeviceInfo) JSValue() js.Value
- func (_this *PromiseSequenceMediaDeviceInfo) Then(onFulfilled *PromiseSequenceMediaDeviceInfoOnFulfilled, ...) (_result *PromiseSequenceMediaDeviceInfo)
- type PromiseSequenceMediaDeviceInfoOnFulfilled
- type PromiseSequenceMediaDeviceInfoOnFulfilledFunc
- type PromiseSequenceMediaDeviceInfoOnRejected
- type PromiseSequenceMediaDeviceInfoOnRejectedFunc
- type Settings
- type ULongRange
- type Union
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Capabilities ¶
type Capabilities struct { }
dictionary: Capabilities
func CapabilitiesFromJS ¶
func CapabilitiesFromJS(value js.Value) *Capabilities
CapabilitiesFromJS is allocating a new Capabilities object and copy all values in the value javascript object.
func (*Capabilities) JSValue ¶
func (_this *Capabilities) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type ConstrainBooleanParameters ¶
dictionary: ConstrainBooleanParameters
func ConstrainBooleanParametersFromJS ¶
func ConstrainBooleanParametersFromJS(value js.Value) *ConstrainBooleanParameters
ConstrainBooleanParametersFromJS is allocating a new ConstrainBooleanParameters object and copy all values in the value javascript object.
func (*ConstrainBooleanParameters) JSValue ¶
func (_this *ConstrainBooleanParameters) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type ConstrainDOMStringParameters ¶
dictionary: ConstrainDOMStringParameters
func ConstrainDOMStringParametersFromJS ¶
func ConstrainDOMStringParametersFromJS(value js.Value) *ConstrainDOMStringParameters
ConstrainDOMStringParametersFromJS is allocating a new ConstrainDOMStringParameters object and copy all values in the value javascript object.
func (*ConstrainDOMStringParameters) JSValue ¶
func (_this *ConstrainDOMStringParameters) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type ConstrainDoubleRange ¶
dictionary: ConstrainDoubleRange
func ConstrainDoubleRangeFromJS ¶
func ConstrainDoubleRangeFromJS(value js.Value) *ConstrainDoubleRange
ConstrainDoubleRangeFromJS is allocating a new ConstrainDoubleRange object and copy all values in the value javascript object.
func (*ConstrainDoubleRange) JSValue ¶
func (_this *ConstrainDoubleRange) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type ConstrainULongRange ¶
dictionary: ConstrainULongRange
func ConstrainULongRangeFromJS ¶
func ConstrainULongRangeFromJS(value js.Value) *ConstrainULongRange
ConstrainULongRangeFromJS is allocating a new ConstrainULongRange object and copy all values in the value javascript object.
func (*ConstrainULongRange) JSValue ¶
func (_this *ConstrainULongRange) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type ConstrainablePattern ¶
type ConstrainablePattern struct { // Value_JS holds a reference to a javascript value Value_JS js.Value }
class: ConstrainablePattern
func ConstrainablePatternFromJS ¶
func ConstrainablePatternFromJS(value js.Value) *ConstrainablePattern
ConstrainablePatternFromJS is casting a js.Value into ConstrainablePattern.
func ConstrainablePatternFromWrapper ¶
func ConstrainablePatternFromWrapper(input core.Wrapper) *ConstrainablePattern
ConstrainablePatternFromJS is casting from something that holds a js.Value into ConstrainablePattern.
func (*ConstrainablePattern) AddEventOverConstrained ¶
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 ¶
func (_this *ConstrainablePattern) ApplyConstraints(constraints *Constraints) (_result *javascript.PromiseVoid)
func (*ConstrainablePattern) GetCapabilities ¶
func (_this *ConstrainablePattern) GetCapabilities() (_result *Capabilities)
func (*ConstrainablePattern) GetConstraints ¶
func (_this *ConstrainablePattern) GetConstraints() (_result *Constraints)
func (*ConstrainablePattern) GetSettings ¶
func (_this *ConstrainablePattern) GetSettings() (_result *Settings)
func (*ConstrainablePattern) JSValue ¶
func (_this *ConstrainablePattern) JSValue() js.Value
JSValue returns the js.Value or js.Null() if _this is nil
func (*ConstrainablePattern) OnOverConstrained ¶
func (_this *ConstrainablePattern) OnOverConstrained() domcore.EventHandlerFunc
OnOverConstrained returning attribute 'onoverconstrained' with type domcore.EventHandler (idl: EventHandlerNonNull).
func (*ConstrainablePattern) SetOnOverConstrained ¶
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 ¶
type ConstraintSet struct { }
dictionary: ConstraintSet
func ConstraintSetFromJS ¶
func ConstraintSetFromJS(value js.Value) *ConstraintSet
ConstraintSetFromJS is allocating a new ConstraintSet object and copy all values in the value javascript object.
func (*ConstraintSet) JSValue ¶
func (_this *ConstraintSet) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type Constraints ¶
type Constraints struct {
Advanced []*ConstraintSet
}
dictionary: Constraints
func ConstraintsFromJS ¶
func ConstraintsFromJS(value js.Value) *Constraints
ConstraintsFromJS is allocating a new Constraints object and copy all values in the value javascript object.
func (*Constraints) JSValue ¶
func (_this *Constraints) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type DoubleRange ¶
dictionary: DoubleRange
func DoubleRangeFromJS ¶
func DoubleRangeFromJS(value js.Value) *DoubleRange
DoubleRangeFromJS is allocating a new DoubleRange object and copy all values in the value javascript object.
func (*DoubleRange) JSValue ¶
func (_this *DoubleRange) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type InputDeviceInfo ¶
type InputDeviceInfo struct {
MediaDeviceInfo
}
class: InputDeviceInfo
func InputDeviceInfoFromJS ¶
func InputDeviceInfoFromJS(value js.Value) *InputDeviceInfo
InputDeviceInfoFromJS is casting a js.Value into InputDeviceInfo.
func InputDeviceInfoFromWrapper ¶
func InputDeviceInfoFromWrapper(input core.Wrapper) *InputDeviceInfo
InputDeviceInfoFromJS is casting from something that holds a js.Value into InputDeviceInfo.
func (*InputDeviceInfo) GetCapabilities ¶
func (_this *InputDeviceInfo) GetCapabilities() (_result *MediaTrackCapabilities)
type MediaDeviceInfo ¶
type MediaDeviceInfo struct { // Value_JS holds a reference to a javascript value Value_JS js.Value }
class: MediaDeviceInfo
func MediaDeviceInfoFromJS ¶
func MediaDeviceInfoFromJS(value js.Value) *MediaDeviceInfo
MediaDeviceInfoFromJS is casting a js.Value into MediaDeviceInfo.
func MediaDeviceInfoFromWrapper ¶
func MediaDeviceInfoFromWrapper(input core.Wrapper) *MediaDeviceInfo
MediaDeviceInfoFromJS is casting from something that holds a js.Value into MediaDeviceInfo.
func (*MediaDeviceInfo) DeviceId ¶
func (_this *MediaDeviceInfo) DeviceId() string
DeviceId returning attribute 'deviceId' with type string (idl: DOMString).
func (*MediaDeviceInfo) GroupId ¶
func (_this *MediaDeviceInfo) GroupId() string
GroupId returning attribute 'groupId' with type string (idl: DOMString).
func (*MediaDeviceInfo) JSValue ¶
func (_this *MediaDeviceInfo) JSValue() js.Value
JSValue returns the js.Value or js.Null() if _this is nil
func (*MediaDeviceInfo) Kind ¶
func (_this *MediaDeviceInfo) Kind() MediaDeviceKind
Kind returning attribute 'kind' with type MediaDeviceKind (idl: MediaDeviceKind).
func (*MediaDeviceInfo) Label ¶
func (_this *MediaDeviceInfo) Label() string
Label returning attribute 'label' with type string (idl: DOMString).
func (*MediaDeviceInfo) ToJSON ¶
func (_this *MediaDeviceInfo) ToJSON() (_result *javascript.Object)
type MediaDeviceKind ¶
type MediaDeviceKind int
enum: MediaDeviceKind
const ( AudioinputMediaDeviceKind MediaDeviceKind = iota AudiooutputMediaDeviceKind VideoinputMediaDeviceKind )
func MediaDeviceKindFromJS ¶
func MediaDeviceKindFromJS(value js.Value) MediaDeviceKind
MediaDeviceKindFromJS is converting a javascript value into a MediaDeviceKind enum value.
func (*MediaDeviceKind) JSValue ¶
func (this *MediaDeviceKind) JSValue() js.Value
JSValue is converting this enum into a javascript object
func (MediaDeviceKind) Value ¶
func (this MediaDeviceKind) Value() string
Value is converting this into javascript defined string value
type MediaDevices ¶
type MediaDevices struct {
domcore.EventTarget
}
class: MediaDevices
func MediaDevicesFromJS ¶
func MediaDevicesFromJS(value js.Value) *MediaDevices
MediaDevicesFromJS is casting a js.Value into MediaDevices.
func MediaDevicesFromWrapper ¶
func MediaDevicesFromWrapper(input core.Wrapper) *MediaDevices
MediaDevicesFromJS is casting from something that holds a js.Value into MediaDevices.
func (*MediaDevices) AddEventDeviceChange ¶
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 ¶
func (_this *MediaDevices) EnumerateDevices() (_result *PromiseSequenceMediaDeviceInfo)
func (*MediaDevices) GetDisplayMedia ¶
func (_this *MediaDevices) GetDisplayMedia(constraints *screen.DisplayMediaStreamConstraints) (_result *PromiseMediaStream)
func (*MediaDevices) GetSupportedConstraints ¶
func (_this *MediaDevices) GetSupportedConstraints() (_result *MediaTrackSupportedConstraints)
func (*MediaDevices) GetUserMedia ¶
func (_this *MediaDevices) GetUserMedia(constraints *MediaStreamConstraints) (_result *PromiseMediaStream)
func (*MediaDevices) OnDeviceChange ¶
func (_this *MediaDevices) OnDeviceChange() domcore.EventHandlerFunc
OnDeviceChange returning attribute 'ondevicechange' with type domcore.EventHandler (idl: EventHandlerNonNull).
func (*MediaDevices) SetOnDeviceChange ¶
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 ¶
type MediaStream struct {
domcore.EventTarget
}
class: MediaStream
func MediaStreamFromJS ¶
func MediaStreamFromJS(value js.Value) *MediaStream
MediaStreamFromJS is casting a js.Value into MediaStream.
func MediaStreamFromWrapper ¶
func MediaStreamFromWrapper(input core.Wrapper) *MediaStream
MediaStreamFromJS is casting from something that holds a js.Value into MediaStream.
func NewMediaStream ¶
func NewMediaStream(tracks []*MediaStreamTrack) (_result *MediaStream)
func (*MediaStream) Active ¶
func (_this *MediaStream) Active() bool
Active returning attribute 'active' with type bool (idl: boolean).
func (*MediaStream) AddEventAddTrack ¶
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 ¶
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 ¶
func (_this *MediaStream) AddTrack(track *MediaStreamTrack)
func (*MediaStream) Clone ¶
func (_this *MediaStream) Clone() (_result *MediaStream)
func (*MediaStream) GetAudioTracks ¶
func (_this *MediaStream) GetAudioTracks() (_result []*MediaStreamTrack)
func (*MediaStream) GetTrackById ¶
func (_this *MediaStream) GetTrackById(trackId string) (_result *MediaStreamTrack)
func (*MediaStream) GetTracks ¶
func (_this *MediaStream) GetTracks() (_result []*MediaStreamTrack)
func (*MediaStream) GetVideoTracks ¶
func (_this *MediaStream) GetVideoTracks() (_result []*MediaStreamTrack)
func (*MediaStream) Id ¶
func (_this *MediaStream) Id() string
Id returning attribute 'id' with type string (idl: DOMString).
func (*MediaStream) OnAddTrack ¶
func (_this *MediaStream) OnAddTrack() domcore.EventHandlerFunc
OnAddTrack returning attribute 'onaddtrack' with type domcore.EventHandler (idl: EventHandlerNonNull).
func (*MediaStream) OnRemoveTrack ¶
func (_this *MediaStream) OnRemoveTrack() domcore.EventHandlerFunc
OnRemoveTrack returning attribute 'onremovetrack' with type domcore.EventHandler (idl: EventHandlerNonNull).
func (*MediaStream) RemoveTrack ¶
func (_this *MediaStream) RemoveTrack(track *MediaStreamTrack)
func (*MediaStream) SetOnAddTrack ¶
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 ¶
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 ¶
dictionary: MediaStreamConstraints
func MediaStreamConstraintsFromJS ¶
func MediaStreamConstraintsFromJS(value js.Value) *MediaStreamConstraints
MediaStreamConstraintsFromJS is allocating a new MediaStreamConstraints object and copy all values in the value javascript object.
func (*MediaStreamConstraints) JSValue ¶
func (_this *MediaStreamConstraints) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type MediaStreamTrack ¶
type MediaStreamTrack struct {
domcore.EventTarget
}
class: MediaStreamTrack
func MediaStreamTrackFromJS ¶
func MediaStreamTrackFromJS(value js.Value) *MediaStreamTrack
MediaStreamTrackFromJS is casting a js.Value into MediaStreamTrack.
func MediaStreamTrackFromWrapper ¶
func MediaStreamTrackFromWrapper(input core.Wrapper) *MediaStreamTrack
MediaStreamTrackFromJS is casting from something that holds a js.Value into MediaStreamTrack.
func (*MediaStreamTrack) AddEventEnded ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (_this *MediaStreamTrack) ApplyConstraints(constraints *MediaTrackConstraints) (_result *javascript.PromiseVoid)
func (*MediaStreamTrack) Clone ¶
func (_this *MediaStreamTrack) Clone() (_result *MediaStreamTrack)
func (*MediaStreamTrack) ContentHint ¶
func (_this *MediaStreamTrack) ContentHint() string
ContentHint returning attribute 'contentHint' with type string (idl: DOMString).
func (*MediaStreamTrack) Enabled ¶
func (_this *MediaStreamTrack) Enabled() bool
Enabled returning attribute 'enabled' with type bool (idl: boolean).
func (*MediaStreamTrack) GetCapabilities ¶
func (_this *MediaStreamTrack) GetCapabilities() (_result *MediaTrackCapabilities)
func (*MediaStreamTrack) GetConstraints ¶
func (_this *MediaStreamTrack) GetConstraints() (_result *MediaTrackConstraints)
func (*MediaStreamTrack) GetSettings ¶
func (_this *MediaStreamTrack) GetSettings() (_result *MediaTrackSettings)
func (*MediaStreamTrack) Id ¶
func (_this *MediaStreamTrack) Id() string
Id returning attribute 'id' with type string (idl: DOMString).
func (*MediaStreamTrack) Kind ¶
func (_this *MediaStreamTrack) Kind() string
Kind returning attribute 'kind' with type string (idl: DOMString).
func (*MediaStreamTrack) Label ¶
func (_this *MediaStreamTrack) Label() string
Label returning attribute 'label' with type string (idl: DOMString).
func (*MediaStreamTrack) Muted ¶
func (_this *MediaStreamTrack) Muted() bool
Muted returning attribute 'muted' with type bool (idl: boolean).
func (*MediaStreamTrack) OnEnded ¶
func (_this *MediaStreamTrack) OnEnded() domcore.EventHandlerFunc
OnEnded returning attribute 'onended' with type domcore.EventHandler (idl: EventHandlerNonNull).
func (*MediaStreamTrack) OnMute ¶
func (_this *MediaStreamTrack) OnMute() domcore.EventHandlerFunc
OnMute returning attribute 'onmute' with type domcore.EventHandler (idl: EventHandlerNonNull).
func (*MediaStreamTrack) OnOverConstrained ¶
func (_this *MediaStreamTrack) OnOverConstrained() domcore.EventHandlerFunc
OnOverConstrained returning attribute 'onoverconstrained' with type domcore.EventHandler (idl: EventHandlerNonNull).
func (*MediaStreamTrack) OnUnmute ¶
func (_this *MediaStreamTrack) OnUnmute() domcore.EventHandlerFunc
OnUnmute returning attribute 'onunmute' with type domcore.EventHandler (idl: EventHandlerNonNull).
func (*MediaStreamTrack) ReadyState ¶
func (_this *MediaStreamTrack) ReadyState() MediaStreamTrackState
ReadyState returning attribute 'readyState' with type MediaStreamTrackState (idl: MediaStreamTrackState).
func (*MediaStreamTrack) SetContentHint ¶
func (_this *MediaStreamTrack) SetContentHint(value string)
SetContentHint setting attribute 'contentHint' with type string (idl: DOMString).
func (*MediaStreamTrack) SetEnabled ¶
func (_this *MediaStreamTrack) SetEnabled(value bool)
SetEnabled setting attribute 'enabled' with type bool (idl: boolean).
func (*MediaStreamTrack) SetOnEnded ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (_this *MediaStreamTrack) Stop()
type MediaStreamTrackEvent ¶
class: MediaStreamTrackEvent
func MediaStreamTrackEventFromJS ¶
func MediaStreamTrackEventFromJS(value js.Value) *MediaStreamTrackEvent
MediaStreamTrackEventFromJS is casting a js.Value into MediaStreamTrackEvent.
func MediaStreamTrackEventFromWrapper ¶
func MediaStreamTrackEventFromWrapper(input core.Wrapper) *MediaStreamTrackEvent
MediaStreamTrackEventFromJS is casting from something that holds a js.Value into MediaStreamTrackEvent.
func NewMediaStreamTrackEvent ¶
func NewMediaStreamTrackEvent(_type string, eventInitDict *MediaStreamTrackEventInit) (_result *MediaStreamTrackEvent)
func (*MediaStreamTrackEvent) Track ¶
func (_this *MediaStreamTrackEvent) Track() *MediaStreamTrack
Track returning attribute 'track' with type MediaStreamTrack (idl: MediaStreamTrack).
type MediaStreamTrackEventInit ¶
type MediaStreamTrackEventInit struct { Bubbles bool Cancelable bool Composed bool Track *MediaStreamTrack }
dictionary: MediaStreamTrackEventInit
func MediaStreamTrackEventInitFromJS ¶
func MediaStreamTrackEventInitFromJS(value js.Value) *MediaStreamTrackEventInit
MediaStreamTrackEventInitFromJS is allocating a new MediaStreamTrackEventInit object and copy all values in the value javascript object.
func (*MediaStreamTrackEventInit) JSValue ¶
func (_this *MediaStreamTrackEventInit) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type MediaStreamTrackState ¶
type MediaStreamTrackState int
enum: MediaStreamTrackState
const ( LiveMediaStreamTrackState MediaStreamTrackState = iota EndedMediaStreamTrackState )
func MediaStreamTrackStateFromJS ¶
func MediaStreamTrackStateFromJS(value js.Value) MediaStreamTrackState
MediaStreamTrackStateFromJS is converting a javascript value into a MediaStreamTrackState enum value.
func (*MediaStreamTrackState) JSValue ¶
func (this *MediaStreamTrackState) JSValue() js.Value
JSValue is converting this enum into a javascript object
func (MediaStreamTrackState) Value ¶
func (this MediaStreamTrackState) Value() string
Value is converting this into javascript defined string value
type MediaTrackCapabilities ¶
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 ¶
func MediaTrackCapabilitiesFromJS(value js.Value) *MediaTrackCapabilities
MediaTrackCapabilitiesFromJS is allocating a new MediaTrackCapabilities object and copy all values in the value javascript object.
func (*MediaTrackCapabilities) JSValue ¶
func (_this *MediaTrackCapabilities) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type MediaTrackConstraintSet ¶
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 ¶
func MediaTrackConstraintSetFromJS(value js.Value) *MediaTrackConstraintSet
MediaTrackConstraintSetFromJS is allocating a new MediaTrackConstraintSet object and copy all values in the value javascript object.
func (*MediaTrackConstraintSet) JSValue ¶
func (_this *MediaTrackConstraintSet) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type MediaTrackConstraints ¶
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 ¶
func MediaTrackConstraintsFromJS(value js.Value) *MediaTrackConstraints
MediaTrackConstraintsFromJS is allocating a new MediaTrackConstraints object and copy all values in the value javascript object.
func (*MediaTrackConstraints) JSValue ¶
func (_this *MediaTrackConstraints) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type MediaTrackSettings ¶
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 ¶
func MediaTrackSettingsFromJS(value js.Value) *MediaTrackSettings
MediaTrackSettingsFromJS is allocating a new MediaTrackSettings object and copy all values in the value javascript object.
func (*MediaTrackSettings) JSValue ¶
func (_this *MediaTrackSettings) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type MediaTrackSupportedConstraints ¶
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 ¶
func MediaTrackSupportedConstraintsFromJS(value js.Value) *MediaTrackSupportedConstraints
MediaTrackSupportedConstraintsFromJS is allocating a new MediaTrackSupportedConstraints object and copy all values in the value javascript object.
func (*MediaTrackSupportedConstraints) JSValue ¶
func (_this *MediaTrackSupportedConstraints) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type NavigatorUserMediaErrorCallback ¶
NavigatorUserMediaErrorCallback is a javascript function type.
Call Release() when done to release resouces allocated to this type.
func NavigatorUserMediaErrorCallbackToJS ¶
func NavigatorUserMediaErrorCallbackToJS(callback NavigatorUserMediaErrorCallbackFunc) *NavigatorUserMediaErrorCallback
type NavigatorUserMediaErrorCallbackFunc ¶
type NavigatorUserMediaErrorCallbackFunc func(_error *javascript.Object)
callback: NavigatorUserMediaErrorCallback
func NavigatorUserMediaErrorCallbackFromJS ¶
func NavigatorUserMediaErrorCallbackFromJS(_value js.Value) NavigatorUserMediaErrorCallbackFunc
type NavigatorUserMediaSuccessCallback ¶
NavigatorUserMediaSuccessCallback is a javascript function type.
Call Release() when done to release resouces allocated to this type.
func NavigatorUserMediaSuccessCallbackToJS ¶
func NavigatorUserMediaSuccessCallbackToJS(callback NavigatorUserMediaSuccessCallbackFunc) *NavigatorUserMediaSuccessCallback
type NavigatorUserMediaSuccessCallbackFunc ¶
type NavigatorUserMediaSuccessCallbackFunc func(stream *MediaStream)
callback: NavigatorUserMediaSuccessCallback
func NavigatorUserMediaSuccessCallbackFromJS ¶
func NavigatorUserMediaSuccessCallbackFromJS(_value js.Value) NavigatorUserMediaSuccessCallbackFunc
type OverconstrainedErrorEvent ¶
class: OverconstrainedErrorEvent
func NewOverconstrainedErrorEvent ¶
func NewOverconstrainedErrorEvent(_type string, eventInitDict *OverconstrainedErrorEventInit) (_result *OverconstrainedErrorEvent)
func OverconstrainedErrorEventFromJS ¶
func OverconstrainedErrorEventFromJS(value js.Value) *OverconstrainedErrorEvent
OverconstrainedErrorEventFromJS is casting a js.Value into OverconstrainedErrorEvent.
func OverconstrainedErrorEventFromWrapper ¶
func OverconstrainedErrorEventFromWrapper(input core.Wrapper) *OverconstrainedErrorEvent
OverconstrainedErrorEventFromJS is casting from something that holds a js.Value into OverconstrainedErrorEvent.
func (*OverconstrainedErrorEvent) Error ¶
func (_this *OverconstrainedErrorEvent) Error() *patch.OverconstrainedError
Error returning attribute 'error' with type patch.OverconstrainedError (idl: OverconstrainedError).
type OverconstrainedErrorEventInit ¶
type OverconstrainedErrorEventInit struct { Bubbles bool Cancelable bool Composed bool Error *patch.OverconstrainedError }
dictionary: OverconstrainedErrorEventInit
func OverconstrainedErrorEventInitFromJS ¶
func OverconstrainedErrorEventInitFromJS(value js.Value) *OverconstrainedErrorEventInit
OverconstrainedErrorEventInitFromJS is allocating a new OverconstrainedErrorEventInit object and copy all values in the value javascript object.
func (*OverconstrainedErrorEventInit) JSValue ¶
func (_this *OverconstrainedErrorEventInit) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values
type PromiseMediaStream ¶
type PromiseMediaStream struct { // Value_JS holds a reference to a javascript value Value_JS js.Value }
class: Promise
func PromiseMediaStreamFromJS ¶
func PromiseMediaStreamFromJS(value js.Value) *PromiseMediaStream
PromiseMediaStreamFromJS is casting a js.Value into PromiseMediaStream.
func PromiseMediaStreamFromWrapper ¶
func PromiseMediaStreamFromWrapper(input core.Wrapper) *PromiseMediaStream
PromiseMediaStreamFromJS is casting from something that holds a js.Value into PromiseMediaStream.
func (*PromiseMediaStream) Catch ¶
func (_this *PromiseMediaStream) Catch(onRejected *PromiseMediaStreamOnRejected) (_result *PromiseMediaStream)
func (*PromiseMediaStream) Finally ¶
func (_this *PromiseMediaStream) Finally(onFinally *javascript.PromiseFinally) (_result *PromiseMediaStream)
func (*PromiseMediaStream) JSValue ¶
func (_this *PromiseMediaStream) JSValue() js.Value
JSValue returns the js.Value or js.Null() if _this is nil
func (*PromiseMediaStream) Then ¶
func (_this *PromiseMediaStream) Then(onFulfilled *PromiseMediaStreamOnFulfilled, onRejected *PromiseMediaStreamOnRejected) (_result *PromiseMediaStream)
type PromiseMediaStreamOnFulfilled ¶
PromiseMediaStreamOnFulfilled is a javascript function type.
Call Release() when done to release resouces allocated to this type.
func PromiseMediaStreamOnFulfilledToJS ¶
func PromiseMediaStreamOnFulfilledToJS(callback PromiseMediaStreamOnFulfilledFunc) *PromiseMediaStreamOnFulfilled
type PromiseMediaStreamOnFulfilledFunc ¶
type PromiseMediaStreamOnFulfilledFunc func(value *MediaStream)
callback: PromiseTemplateOnFulfilled
func PromiseMediaStreamOnFulfilledFromJS ¶
func PromiseMediaStreamOnFulfilledFromJS(_value js.Value) PromiseMediaStreamOnFulfilledFunc
type PromiseMediaStreamOnRejected ¶
PromiseMediaStreamOnRejected is a javascript function type.
Call Release() when done to release resouces allocated to this type.
func PromiseMediaStreamOnRejectedToJS ¶
func PromiseMediaStreamOnRejectedToJS(callback PromiseMediaStreamOnRejectedFunc) *PromiseMediaStreamOnRejected
type PromiseMediaStreamOnRejectedFunc ¶
callback: PromiseTemplateOnRejected
func PromiseMediaStreamOnRejectedFromJS ¶
func PromiseMediaStreamOnRejectedFromJS(_value js.Value) PromiseMediaStreamOnRejectedFunc
type PromiseSequenceMediaDeviceInfo ¶
type PromiseSequenceMediaDeviceInfo struct { // Value_JS holds a reference to a javascript value Value_JS js.Value }
class: Promise
func PromiseSequenceMediaDeviceInfoFromJS ¶
func PromiseSequenceMediaDeviceInfoFromJS(value js.Value) *PromiseSequenceMediaDeviceInfo
PromiseSequenceMediaDeviceInfoFromJS is casting a js.Value into PromiseSequenceMediaDeviceInfo.
func PromiseSequenceMediaDeviceInfoFromWrapper ¶
func PromiseSequenceMediaDeviceInfoFromWrapper(input core.Wrapper) *PromiseSequenceMediaDeviceInfo
PromiseSequenceMediaDeviceInfoFromJS is casting from something that holds a js.Value into PromiseSequenceMediaDeviceInfo.
func (*PromiseSequenceMediaDeviceInfo) Catch ¶
func (_this *PromiseSequenceMediaDeviceInfo) Catch(onRejected *PromiseSequenceMediaDeviceInfoOnRejected) (_result *PromiseSequenceMediaDeviceInfo)
func (*PromiseSequenceMediaDeviceInfo) Finally ¶
func (_this *PromiseSequenceMediaDeviceInfo) Finally(onFinally *javascript.PromiseFinally) (_result *PromiseSequenceMediaDeviceInfo)
func (*PromiseSequenceMediaDeviceInfo) JSValue ¶
func (_this *PromiseSequenceMediaDeviceInfo) JSValue() js.Value
JSValue returns the js.Value or js.Null() if _this is nil
func (*PromiseSequenceMediaDeviceInfo) Then ¶
func (_this *PromiseSequenceMediaDeviceInfo) Then(onFulfilled *PromiseSequenceMediaDeviceInfoOnFulfilled, onRejected *PromiseSequenceMediaDeviceInfoOnRejected) (_result *PromiseSequenceMediaDeviceInfo)
type PromiseSequenceMediaDeviceInfoOnFulfilled ¶
PromiseSequenceMediaDeviceInfoOnFulfilled is a javascript function type.
Call Release() when done to release resouces allocated to this type.
func PromiseSequenceMediaDeviceInfoOnFulfilledToJS ¶
func PromiseSequenceMediaDeviceInfoOnFulfilledToJS(callback PromiseSequenceMediaDeviceInfoOnFulfilledFunc) *PromiseSequenceMediaDeviceInfoOnFulfilled
type PromiseSequenceMediaDeviceInfoOnFulfilledFunc ¶
type PromiseSequenceMediaDeviceInfoOnFulfilledFunc func(value []*MediaDeviceInfo)
callback: PromiseTemplateOnFulfilled
func PromiseSequenceMediaDeviceInfoOnFulfilledFromJS ¶
func PromiseSequenceMediaDeviceInfoOnFulfilledFromJS(_value js.Value) PromiseSequenceMediaDeviceInfoOnFulfilledFunc
type PromiseSequenceMediaDeviceInfoOnRejected ¶
PromiseSequenceMediaDeviceInfoOnRejected is a javascript function type.
Call Release() when done to release resouces allocated to this type.
func PromiseSequenceMediaDeviceInfoOnRejectedToJS ¶
func PromiseSequenceMediaDeviceInfoOnRejectedToJS(callback PromiseSequenceMediaDeviceInfoOnRejectedFunc) *PromiseSequenceMediaDeviceInfoOnRejected
type PromiseSequenceMediaDeviceInfoOnRejectedFunc ¶
callback: PromiseTemplateOnRejected
func PromiseSequenceMediaDeviceInfoOnRejectedFromJS ¶
func PromiseSequenceMediaDeviceInfoOnRejectedFromJS(_value js.Value) PromiseSequenceMediaDeviceInfoOnRejectedFunc
type Settings ¶
type Settings struct { }
dictionary: Settings
func SettingsFromJS ¶
SettingsFromJS is allocating a new Settings object and copy all values in the value javascript object.
type ULongRange ¶
dictionary: ULongRange
func ULongRangeFromJS ¶
func ULongRangeFromJS(value js.Value) *ULongRange
ULongRangeFromJS is allocating a new ULongRange object and copy all values in the value javascript object.
func (*ULongRange) JSValue ¶
func (_this *ULongRange) JSValue() js.Value
JSValue is allocating a new javascript object and copy all values