Shaka Player Embedded
|
#include <environment.h>
Classes | |
struct | Impl |
Public Member Functions | |
Environment () | |
~Environment () | |
void | Install () |
Manages the JavaScript global environment. This installs functions and global objects like Navigator, XMLHttpRequest, and MediaSource. This also holds the factories used to create instances. This object must live as long as the JavaScript engine is being used.
Definition at line 28 of file environment.h.
shaka::Environment::Environment | ( | ) |
Definition at line 161 of file environment.cc.
shaka::Environment::~Environment | ( | ) |
Definition at line 162 of file environment.cc.
void shaka::Environment::Install | ( | ) |
Populates the global environment into the current V8 isolate.
Definition at line 165 of file environment.cc.