X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=service%2Fnotification%2Fandroid%2Fnotification-service%2Fsrc%2Fmain%2Fjni%2Fconsumer%2FJniNotificationConsumer.h;h=cbcbce1aa37c9c9014c1f9d43a87bac8130672cd;hb=refs%2Ftags%2Faccepted%2Ftizen%2Funified%2F20171010.063815;hp=97ae3d8e8ac8cabb9b918fe34b287096089e7128;hpb=edcfc3d2329da7b914771c0dcff5f42c9b74fd93;p=platform%2Fupstream%2Fiotivity.git diff --git a/service/notification/android/notification-service/src/main/jni/consumer/JniNotificationConsumer.h b/service/notification/android/notification-service/src/main/jni/consumer/JniNotificationConsumer.h index 97ae3d8..cbcbce1 100755 --- a/service/notification/android/notification-service/src/main/jni/consumer/JniNotificationConsumer.h +++ b/service/notification/android/notification-service/src/main/jni/consumer/JniNotificationConsumer.h @@ -47,14 +47,23 @@ JNIEXPORT void JNICALL Java_org_iotivity_service_ns_consumer_ConsumerService_nat /* * Class: org_iotivity_service_ns_consumer_ConsumerService * Method: nativeEnableRemoteService - * Signature: (Ljava/lang/String;)I + * Signature: (Ljava/lang/String;)V */ -JNIEXPORT jint JNICALL +JNIEXPORT void JNICALL Java_org_iotivity_service_ns_consumer_ConsumerService_nativeEnableRemoteService (JNIEnv *, jobject, jstring); /* * Class: org_iotivity_service_ns_consumer_ConsumerService + * Method: nativeSubscribeMQService + * Signature: (Ljava/lang/String;Ljava/lang/String;)V + */ +JNIEXPORT void JNICALL +Java_org_iotivity_service_ns_consumer_ConsumerService_nativeSubscribeMQService +(JNIEnv *, jobject, jstring, jstring); + +/* + * Class: org_iotivity_service_ns_consumer_ConsumerService * Method: nativeRescanProvider * Signature: ()V */ @@ -69,6 +78,15 @@ JNIEXPORT void JNICALL Java_org_iotivity_service_ns_consumer_ConsumerService_nat JNIEXPORT void JNICALL Java_org_iotivity_service_ns_consumer_Provider_nativeSubscribe (JNIEnv *, jobject); + +/* + * Class: org_iotivity_service_ns_consumer_Provider + * Method: nativeUnsubscribe + * Signature: ()V + */ +JNIEXPORT void JNICALL Java_org_iotivity_service_ns_consumer_Provider_nativeUnsubscribe +(JNIEnv *, jobject); + /* * Class: org_iotivity_service_ns_consumer_Provider * Method: nativeSendSyncInfo @@ -80,7 +98,7 @@ JNIEXPORT void JNICALL Java_org_iotivity_service_ns_consumer_Provider_nativeSend /* * Class: org_iotivity_service_ns_consumer_Provider * Method: nativeSetListener - * Signature: (Lorg/iotivity/service/ns/consumer/Provider/OnProviderStateListener;Lorg/iotivity/service/ns/consumer/Provider/OnMessageReceivedListner;Lorg/iotivity/service/ns/consumer/Provider/OnSyncInfoReceivedListner;)V + * Signature: (Lorg/iotivity/service/ns/consumer/Provider/OnProviderStateListener;Lorg/iotivity/service/ns/consumer/Provider/OnMessageReceivedListener;Lorg/iotivity/service/ns/consumer/Provider/OnSyncInfoReceivedListener;)V */ JNIEXPORT void JNICALL Java_org_iotivity_service_ns_consumer_Provider_nativeSetListener (JNIEnv *, jobject, jobject, jobject, jobject); @@ -96,9 +114,9 @@ JNIEXPORT jobject JNICALL Java_org_iotivity_service_ns_consumer_Provider_nativeG /* * Class: org_iotivity_service_ns_consumer_Provider * Method: nativeUpdateTopicList - * Signature: (Lorg/iotivity/service/ns/common/TopicsList;)I + * Signature: (Lorg/iotivity/service/ns/common/TopicsList;)V */ -JNIEXPORT jint JNICALL Java_org_iotivity_service_ns_consumer_Provider_nativeUpdateTopicList +JNIEXPORT void JNICALL Java_org_iotivity_service_ns_consumer_Provider_nativeUpdateTopicList (JNIEnv *, jobject, jobject); /* @@ -117,6 +135,14 @@ JNIEXPORT jobject JNICALL Java_org_iotivity_service_ns_consumer_Provider_nativeG JNIEXPORT jboolean JNICALL Java_org_iotivity_service_ns_consumer_Provider_nativeIsSubscribed (JNIEnv *, jobject); +/* + * Class: org_iotivity_service_ns_consumer_Provider + * Method: nativeDispose + * Signature: ()V + */ +JNIEXPORT void JNICALL Java_org_iotivity_service_ns_consumer_Provider_nativeDispose +(JNIEnv *env, jobject object); + #ifdef __cplusplus } #endif