Shaka Player Embedded
Classes | Public Member Functions | List of all members
shaka::Environment Class Reference

#include <environment.h>

Classes

struct  Impl
 

Public Member Functions

 Environment ()
 
 ~Environment ()
 
void Install ()
 

Detailed Description

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.

Constructor & Destructor Documentation

§ Environment()

shaka::Environment::Environment ( )

Definition at line 161 of file environment.cc.

§ ~Environment()

shaka::Environment::~Environment ( )

Definition at line 162 of file environment.cc.

Member Function Documentation

§ Install()

void shaka::Environment::Install ( )

Populates the global environment into the current V8 isolate.

Definition at line 165 of file environment.cc.


The documentation for this class was generated from the following files: