16 #include <unordered_map> 27 class JavaCoreAPIListenerProxy;
void GetNativeInstance_HttpRequestResult(JNIEnv *jEnv, jobject jRequestResult, uint &statusCode, std::map< std::string, std::string > &resultHeaders, std::vector< char > &response)
std::shared_ptr< ttv::CoreAPI > GetCoreApiInstance(jobject jCoreApi)
std::shared_ptr< JavaCoreAPIListenerProxy > nativeListener
Definition: java_coreutil.h:32
jobject GetJavaInstance_TrackingValue(JNIEnv *jEnv, const TrackingValue &value)
jobject GetJavaInstance_ProfileImageArray(JNIEnv *jEnv, const std::vector< ttv::ProfileImage > &images)
Definition: coretypes.h:32
jobject GetJavaInstance_WatchPartyUpdate(JNIEnv *jEnv, const ttv::WatchPartyUpdate &update)
jobject GetJavaInstance_StreamInfo(JNIEnv *jEnv, const ttv::StreamInfo &streamInfo)
Definition: coretypes.h:130
std::shared_ptr< ttv::CoreAPI > coreApi
Definition: java_coreutil.h:31
jobject GetJavaInstance_ErrorCode(JNIEnv *jEnv, TTV_ErrorCode err)
JSON (JavaScript Object Notation).
Definition: adsapi.h:16
jobject GetJavaInstance_PreviewImages(JNIEnv *jEnv, const PreviewImages &previewImages)
jobject GetJavaInstance_HttpParameterArray(JNIEnv *jEnv, const std::vector< ttv::HttpParam > ¶ms)
jobject GetJavaInstance_ChannelInfo(JNIEnv *jEnv, const ttv::ChannelInfo &channelInfo)
Definition: coretypes.h:89
JavaNativeProxyRegistry< ttv::IChannelStatus, CoreApiContext > gIChannelStatusInstanceRegistry
jobject GetJavaInstance_WebSocketMessageTypeEnum(JNIEnv *jEnv, ttv::IWebSocket::MessageType type)
jobject GetJavaInstance_UserInfoArray(JNIEnv *jEnv, const std::vector< ttv::UserInfo > &userInfoList)
Definition: coretypes.h:200
uint32_t TTV_ErrorCode
Definition: errortypes.h:30
PubSubState
Definition: coretypes.h:152
unsigned int uint
Definition: coretypes.h:18
Definition: coretypes.h:211
Definition: java_utility.h:57
jobject GetJavaInstance_UserInfo(JNIEnv *jEnv, const ttv::UserInfo &userInfo)
Definition: java_coreutil.h:29
JavaNativeProxyRegistry< ttv::CoreAPI, CoreApiContext > gCoreApiNativeProxyRegistry
Definition: coretypes.h:185
jobject GetJavaInstance_HttpParameter(JNIEnv *jEnv, const ttv::HttpParam ¶m)
jobject GetJavaInstance_ProfileImage(JNIEnv *jEnv, const ttv::ProfileImage &image)
jobject GetJavaInstance_PubSubState(JNIEnv *jEnv, ttv::PubSubState state)
Definition: coretypes.h:58
jobject GetJavaInstance_HttpRequestResult(JNIEnv *jEnv)
void LoadAllCoreJavaClassInfo(JNIEnv *jEnv)
MessageType
Definition: socket.h:296
Definition: httprequest.h:42