JavaScripture
Contribute via GitHub
Feedback
Navigator
Instance Properties
clipboard
maxTouchPoints
xr
Instance Methods
getGamepads
getUserMedia
Browser API
All API
No API set selected.
Navigator
:
Object
Available through
window.navigator
.
Instance Properties
clipboard
:
Clipboard
readonly
Spec
maxTouchPoints
:
Number
readonly
Spec
xr
:
XRSystem
readonly
Spec
Instance Methods
getGamepads
() :
Iterable
<
Gamepad
>
Spec
getUserMedia
(
constraints
:
Object
,
successCallback
:
Function
,
errorCallback
:
Function
) :
undefined
constraints
: {
video
:
Object
Must be either a
Boolean
or MediaTrackConstraint
audio
:
Object
Must be either a
Boolean
or MediaTrackConstraint
}
successCallback
(
stream
:
MediaStream
) :
undefined
errorCallback
(
error
:
MediaStreamError
) :
undefined
Spec
home
license
contribute
feedback
toggle light/dark mode
Copyright © JavaScripture Contributors