|
Shaka Player Embedded
|
#include <idb_factory.h>
Public Member Functions | |
| IDBFactory () | |
| RefPtr< IDBOpenDBRequest > | Open (const std::string &name, optional< uint64_t > version) |
| RefPtr< IDBOpenDBRequest > | OpenTestDb () |
| RefPtr< IDBRequest > | DeleteDatabase (const std::string &name) |
| ExceptionOr< Any > | CloneForTesting (Any value) |
Public Member Functions inherited from shaka::js::events::EventTarget | |
| EventTarget () | |
| void | Trace (memory::HeapTracer *tracer) const override |
| void | AddEventListener (const std::string &type, Listener callback) |
| void | SetCppEventListener (EventType type, std::function< void()> callback) |
| void | RemoveEventListener (const std::string &type, Listener callback) |
| void | UnsetCppEventListener (EventType type) |
| ExceptionOr< bool > | DispatchEvent (RefPtr< Event > event) |
| ExceptionOr< bool > | DispatchEventInternal (RefPtr< Event > event, bool *did_listeners_throw) |
| template<typename EventType , typename... Args> | |
| std::shared_ptr< ThreadEvent< bool > > | ScheduleEvent (Args &&... args) |
| template<typename EventType , typename... Args> | |
| ExceptionOr< bool > | RaiseEvent (Args... args) |
Public Member Functions inherited from shaka::BackingObject | |
| BackingObject () | |
| void | Trace (memory::HeapTracer *tracer) const override |
| bool | IsRootedAlive () const override |
| std::string | name () const |
| virtual BackingObjectFactoryBase * | factory () const =0 |
| bool | DerivedFrom (const std::string &base) |
| ReturnVal< JsValue > | JsThis () const |
| void | SetJsThis (Handle< JsObject > this_) |
Public Member Functions inherited from shaka::memory::Traceable | |
| virtual | ~Traceable () |
| virtual bool | IsShortLived () const |
Additional Inherited Members | |
Public Types inherited from shaka::js::events::EventTarget | |
| using | Listener = optional< Callback > |
Static Public Member Functions inherited from shaka::BackingObject | |
| static void * | operator new[] (size_t size)=delete |
| static void | operator delete[] (void *)=delete |
Static Public Attributes inherited from shaka::BackingObject | |
| static constexpr const size_t | kInternalFieldCount = 2 |
Static Public Attributes inherited from shaka::memory::Traceable | |
| static constexpr const uint64_t | kShortLiveDurationMs = 5000 |
Protected Member Functions inherited from shaka::js::events::EventTarget | |
| void | AddListenerField (EventType type, Listener *on_field) |
Protected Member Functions inherited from shaka::BackingObject | |
| ~BackingObject () override | |
Definition at line 34 of file idb_factory.h.
| shaka::js::idb::IDBFactory::IDBFactory | ( | ) |
Definition at line 36 of file idb_factory.cc.
| ExceptionOr< Any > shaka::js::idb::IDBFactory::CloneForTesting | ( | Any | value | ) |
Definition at line 71 of file idb_factory.cc.
| RefPtr< IDBRequest > shaka::js::idb::IDBFactory::DeleteDatabase | ( | const std::string & | name | ) |
Definition at line 61 of file idb_factory.cc.
| Doxygen_Skip RefPtr< IDBOpenDBRequest > shaka::js::idb::IDBFactory::Open | ( | const std::string & | name, |
| optional< uint64_t > | version | ||
| ) |
Definition at line 41 of file idb_factory.cc.
| RefPtr< IDBOpenDBRequest > shaka::js::idb::IDBFactory::OpenTestDb | ( | ) |
Definition at line 52 of file idb_factory.cc.
1.8.13