/* DO NOT EDIT THIS FILE - it is machine generated */ #include /* Header for class com_jg_softbus_naservice_SessionService */ #ifndef _Included_com_jg_softbus_naservice_SessionService #define _Included_com_jg_softbus_naservice_SessionService #ifdef __cplusplus extern "C" { #endif /* * Class: com_jg_softbus_naservice_SessionService * Method: createSessionServer * Signature: (Ljava/lang/String;Ljava/lang/String;Lcom/jg/softbus/session/callback/ISessionListener;)I */ JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_createSessionServer (JNIEnv *, jobject, jstring, jstring, jobject); /* * Class: com_jg_softbus_naservice_SessionService * Method: openSession * Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/jg/softbus/session/SessionAttribute;)I */ JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_openSession (JNIEnv *, jobject, jstring, jstring, jstring, jstring, jobject); /* * Class: com_jg_softbus_naservice_SessionService * Method: sendBytes * Signature: (I[BI)I */ JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_sendBytes (JNIEnv *, jobject, jint, jbyteArray, jint); /* * Class: com_jg_softbus_naservice_SessionService * Method: sendMessage * Signature: (ILjava/lang/String;I)I */ JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_sendMessage (JNIEnv *, jobject, jint, jstring, jint); /* * Class: com_jg_softbus_naservice_SessionService * Method: sendStream * Signature: (ILcom/jg/softbus/session/StreamData;Lcom/jg/softbus/session/StreamData;Lcom/jg/softbus/session/StreamFrameInfo;)I */ JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_sendStream (JNIEnv *, jobject, jint, jobject, jobject, jobject); /* * Class: com_jg_softbus_naservice_SessionService * Method: sendFile * Signature: (I[Ljava/lang/String;[Ljava/lang/String;I)I */ JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_sendFile (JNIEnv *, jobject, jint, jobjectArray, jobjectArray, jint); /* * Class: com_jg_softbus_naservice_SessionService * Method: setFileSendListener * Signature: (Ljava/lang/String;Ljava/lang/String;Lcom/jg/softbus/session/callback/IFileSendListener;)I */ JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_setFileSendListener (JNIEnv *, jobject, jstring, jstring, jobject); /* * Class: com_jg_softbus_naservice_SessionService * Method: setFileReceiveListener * Signature: (Ljava/lang/String;Ljava/lang/String;Lcom/jg/softbus/session/callback/IFileReceiveListener;Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_setFileReceiveListener (JNIEnv *, jobject, jstring, jstring, jobject, jstring); /* * Class: com_jg_softbus_naservice_SessionService * Method: closeSession * Signature: (I)V */ JNIEXPORT void JNICALL Java_com_jg_softbus_naservice_SessionService_closeSession (JNIEnv *, jobject, jint); /* * Class: com_jg_softbus_naservice_SessionService * Method: removeSessionServer * Signature: (Ljava/lang/String;Ljava/lang/String;)I */ JNIEXPORT jint JNICALL Java_com_jg_softbus_naservice_SessionService_removeSessionServer (JNIEnv *, jobject, jstring, jstring); /* * Class: com_jg_softbus_naservice_SessionService * Method: getPeerDeviceId * Signature: (I)Ljava/lang/String; */ JNIEXPORT jstring JNICALL Java_com_jg_softbus_naservice_SessionService_getPeerDeviceId (JNIEnv *, jobject, jint); /* * Class: com_jg_softbus_naservice_SessionService * Method: getPeerSessionName * Signature: (I)Ljava/lang/String; */ JNIEXPORT jstring JNICALL Java_com_jg_softbus_naservice_SessionService_getPeerSessionName (JNIEnv *, jobject, jint); /* * Class: com_jg_softbus_naservice_SessionService * Method: destroy * Signature: ()V */ JNIEXPORT void JNICALL Java_com_jg_softbus_naservice_SessionService_destroy (JNIEnv *, jobject); #ifdef __cplusplus } #endif #endif