Imported Upstream version 1.0.0
[platform/upstream/iotivity.git] / resource / csdk / connectivity / src / bt_le_adapter / android / org_iotivity_ca_CaLeServerInterface.h
1 /******************************************************************
2  *
3  * Copyright 2014 Samsung Electronics All Rights Reserved.
4  *
5  *
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  ******************************************************************/
20
21 #include <jni.h>
22 /* Header for class org_iotivity_ca_caLeServerInterface */
23
24 #ifndef CA_Included_org_iotivity_ca_caLeServerInterface_H_
25 #define CA_Included_org_iotivity_ca_caLeServerInterface_H_
26 #ifdef __cplusplus
27 extern "C"
28 {
29 #endif
30
31 /*
32  * Class:     org_iotivity_ca_caLeServerInterface
33  * Method:    caLeRegisterGattServerCallback
34  * Signature: (Landroid/bluetooth/BluetoothGattServerCallback;)V
35  */
36 JNIEXPORT void JNICALL
37
38 Java_org_iotivity_ca_caLeServerInterface_caLeRegisterGattServerCallback
39 (JNIEnv *, jobject, jobject);
40
41 /*
42  * Class:     org_iotivity_ca_caLeServerInterface
43  * Method:    caLeRegisterBluetoothLeAdvertiseCallback
44  * Signature: (Landroid/bluetooth/le/AdvertiseCallback;)V
45  */
46 JNIEXPORT void JNICALL
47 Java_org_iotivity_ca_caLeServerInterface_caLeRegisterBluetoothLeAdvertiseCallback
48 (JNIEnv *, jobject, jobject);
49
50 /*
51  * Class:     org_iotivity_ca_caLeServerInterface
52  * Method:    caLeGattServerConnectionStateChangeCallback
53  * Signature: (Landroid/bluetooth/BluetoothDevice;II)V
54  */
55 JNIEXPORT void JNICALL
56 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerConnectionStateChangeCallback
57 (JNIEnv *, jobject, jobject, jint, jint);
58
59 /*
60  * Class:     org_iotivity_ca_caLeServerInterface
61  * Method:    caLeGattServerServiceAddedCallback
62  * Signature: (ILandroid/bluetooth/BluetoothGattService;)V
63  */
64 JNIEXPORT void JNICALL
65 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerServiceAddedCallback
66 (JNIEnv *, jobject, jint, jobject);
67
68 /*
69  * Class:     org_iotivity_ca_caLeServerInterface
70  * Method:    caLeGattServerCharacteristicReadRequestCallback
71  * Signature: (Landroid/bluetooth/BluetoothDevice;IILandroid/
72  * bluetooth/BluetoothGattCharacteristic;)V
73  */
74 JNIEXPORT void JNICALL
75 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerCharacteristicReadRequestCallback
76 (JNIEnv *, jobject, jobject, jbyteArray);
77
78 /*
79  * Class:     org_iotivity_ca_caLeServerInterface
80  * Method:    caLeGattServerCharacteristicWriteRequestCallback
81  * Signature: (Landroid/bluetooth/BluetoothDevice;ILandroid/bluetooth/
82  * BluetoothGattCharacteristic;ZZI[B)V
83  */
84 JNIEXPORT void JNICALL
85 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerCharacteristicWriteRequestCallback
86 (JNIEnv *, jobject, jobject, jbyteArray);
87
88 /*
89  * Class:     org_iotivity_ca_caLeServerInterface
90  * Method:    caLeGattServerNotificationSentCallback
91  * Signature: (Landroid/bluetooth/BluetoothDevice;I)V
92  */
93 JNIEXPORT void JNICALL
94 Java_org_iotivity_ca_caLeServerInterface_caLeGattServerNotificationSentCallback
95 (JNIEnv *, jobject, jobject, jint);
96
97 /*
98  * Class:     org_iotivity_ca_caLeServerInterface
99  * Method:    caLeAdvertiseStartSuccessCallback
100  * Signature: (Landroid/bluetooth/le/AdvertiseSettings;)V
101  */
102 JNIEXPORT void JNICALL
103 Java_org_iotivity_ca_caLeServerInterface_caLeAdvertiseStartSuccessCallback
104 (JNIEnv *, jobject, jobject);
105
106 /*
107  * Class:     org_iotivity_ca_caLeServerInterface
108  * Method:    caLeAdvertiseStartFailureCallback
109  * Signature: (I)V
110  */
111 JNIEXPORT void JNICALL
112 Java_org_iotivity_ca_caLeServerInterface_caLeAdvertiseStartFailureCallback
113 (JNIEnv *, jobject, jint);
114
115
116 #ifdef __cplusplus
117 }
118 #endif
119 #endif
120