Private data structure of AAMPMediaPlayer JS object.
More...
|
std::map< std::string, JSObjectRef > | _promiseCallbacks |
|
int | iPlayerId |
|
bool | bInfoEnabled |
|
JSGlobalContextRef | _ctx |
|
PlayerInstanceAAMP * | _aamp |
|
std::multimap< AAMPEventType, void * > | _listeners |
|
Private data structure of AAMPMediaPlayer JS object.
Definition at line 56 of file jsmediaplayer.cpp.
◆ getCallbackForAdId()
JSObjectRef AAMPMediaPlayer_JS::getCallbackForAdId |
( |
std::string |
id | ) |
|
|
inlineoverridevirtual |
◆ removeCallbackForAdId()
void AAMPMediaPlayer_JS::removeCallbackForAdId |
( |
std::string |
id | ) |
|
|
inlineoverridevirtual |
◆ saveCallbackForAdId()
void AAMPMediaPlayer_JS::saveCallbackForAdId |
( |
std::string |
id, |
|
|
JSObjectRef |
cbObject |
|
) |
| |
|
inline |
Save promise callback for an ad id.
- Parameters
-
[in] | id | ad id |
[in] | cbObject | promise callback object |
Definition at line 116 of file jsmediaplayer.cpp.
The documentation for this struct was generated from the following file: