RDK Documentation (Open Sourced RDK Components)
|
JavaScript Event Impl for AAMP_JSController and AAMPMediaPlayer_JS. More...
#include <JavaScriptCore/JavaScript.h>
Go to the source code of this file.
Functions | |
JSObjectRef | createNewAAMPJSEvent (JSGlobalContextRef ctx, const char *type, bool bubbles, bool cancelable) |
To create a new JS event instance. More... | |
JavaScript Event Impl for AAMP_JSController and AAMPMediaPlayer_JS.
Definition in file jsevent.h.
JSObjectRef createNewAAMPJSEvent | ( | JSGlobalContextRef | ctx, |
const char * | type, | ||
bool | bubbles, | ||
bool | cancelable | ||
) |
To create a new JS event instance.
[in] | ctx | JS execution context |
[in] | type | event type |
[in] | bubbles | denotes if event support bubbling |
[in] | cancelable | denotes if event is cancelable |
JSObject | of the new instance created |
Definition at line 519 of file jsevent.cpp.