Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Request permission to capture the screen using an unreliable method. Attemps to trigger a screen capture permission dialog. Whether or not the dialog is displayed and whether or not the user grants permission to record the screen is not available to the caller. This method has limited utility because it does not block to wait for a dialog prompt or the user's reponse if a dialog is displayed. And the dialog is not guaranteed to be displayed per OS restrictions.
Request permission to access video capture devices. Returns a promise that resolves with |true| after the browser has been granted permission to capture video. If capture access is denied, the promise is resolved with |false|. The promise is rejected if an error occurs.
Generated using TypeDoc
Increases the reference count for this interface. The associated instance will not be deleted unless the reference count is returned to zero.
Returns
The resulting reference count.