update template
This commit is contained in:
22
template/externs/webextension_polyfill/tabs/SharingState.hx
Normal file
22
template/externs/webextension_polyfill/tabs/SharingState.hx
Normal file
@@ -0,0 +1,22 @@
|
||||
package webextension_polyfill.tabs;
|
||||
|
||||
/**
|
||||
Tab sharing state for screen, microphone and camera.
|
||||
**/
|
||||
typedef SharingState = {
|
||||
/**
|
||||
If the tab is sharing the screen the value will be one of "Screen", "Window", or "Application",
|
||||
or undefined if not screen sharing.
|
||||
Optional.
|
||||
**/
|
||||
@:optional
|
||||
var screen : String;
|
||||
/**
|
||||
True if the tab is using the camera.
|
||||
**/
|
||||
var camera : Bool;
|
||||
/**
|
||||
True if the tab is using the microphone.
|
||||
**/
|
||||
var microphone : Bool;
|
||||
};
|
Reference in New Issue
Block a user