replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / resource / csdk / connectivity / src / bt_le_adapter / android / org_iotivity_ca_CaLeClientInterface.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_CaLeClientInterface */
23
24 #ifndef CA_Included_org_iotivity_ca_CaLeClientInterface_H_
25 #define CA_Included_org_iotivity_ca_CaLeClientInterface_H_
26 #ifdef __cplusplus
27 extern "C"
28 {
29 #endif
30
31 /*
32  * Class:     org_iotivity_ca_CaLeClientInterface
33  * Method:    caLeRegisterLeScanCallback
34  * Signature: (Landroid/bluetooth/BluetoothAdapter/LeScanCallback;)V
35  */
36 JNIEXPORT void JNICALL
37 Java_org_iotivity_ca_CaLeClientInterface_caLeRegisterLeScanCallback
38 (JNIEnv *, jobject, jobject);
39
40 /*
41  * Class:     org_iotivity_ca_CaLeClientInterface
42  * Method:    caLeRegisterLeScanCallback
43  * Signature: (Landroid/bluetooth/le/ScanCallback;)V
44  */
45 JNIEXPORT void JNICALL
46 Java_org_iotivity_ca_CaLeClientInterface_caLeRegisterLeScanCallbackForV21
47 (JNIEnv *, jobject, jobject);
48
49 /*
50  * Class:     org_iotivity_ca_caLeClientInterface
51  * Method:    caLeRegisterGattCallback
52  * Signature: (Landroid/bluetooth/BluetoothGattCallback;)V
53  */
54 JNIEXPORT void JNICALL
55 Java_org_iotivity_ca_CaLeClientInterface_caLeRegisterGattCallback
56 (JNIEnv *, jobject, jobject);
57
58 /*
59  * Class:     org_iotivity_ca_CaLeClientInterface
60  * Method:    caLeScanCallback
61  * Signature: (Landroid/bluetooth/BluetoothDevice;)V
62  */
63 JNIEXPORT void JNICALL
64 Java_org_iotivity_ca_CaLeClientInterface_caLeScanCallback
65 (JNIEnv *, jobject, jobject);
66
67 /*
68  * Class:     org_iotivity_ca_CaLeClientInterface
69  * Method:    caLeScanFailedCallback
70  * Signature: (I)V
71  */
72 JNIEXPORT void JNICALL
73 Java_org_iotivity_ca_CaLeClientInterface_caLeScanFailedCallback
74 (JNIEnv *, jobject, jint);
75
76 /*
77  * Class:     org_iotivity_ca_caLeClientInterface
78  * Method:    caLeGattConnectionStateChangeCallback
79  * Signature: (Landroid/bluetooth/BluetoothGatt;II)V
80  */
81 JNIEXPORT void JNICALL
82 Java_org_iotivity_ca_CaLeClientInterface_caLeGattConnectionStateChangeCallback
83 (JNIEnv *, jobject, jobject, jint, jint);
84
85 /*
86  * Class:     org_iotivity_ca_CaLeClientInterface
87  * Method:    caLeGattNWConnectionStateChangeCallback
88  * Signature: (Landroid/bluetooth/BluetoothGatt;II)V
89  */
90 JNIEXPORT void JNICALL
91 Java_org_iotivity_ca_CaLeClientInterface_caLeGattNWConnectionStateChangeCallback
92 (JNIEnv *, jobject, jobject, jint, jint);
93
94 /*
95  * Class:     org_iotivity_ca_CaLeClientInterface
96  * Method:    caLeGattServicesDiscoveredCallback
97  * Signature: (Landroid/bluetooth/BluetoothGatt;I)V
98  */
99 JNIEXPORT void JNICALL
100 Java_org_iotivity_ca_CaLeClientInterface_caLeGattServicesDiscoveredCallback
101 (JNIEnv *, jobject, jobject, jint);
102
103 /*
104  * Class:     org_iotivity_ca_CaLeClientInterface
105  * Method:    caLeGattNWServicesDiscoveredCallback
106  * Signature: (Landroid/bluetooth/BluetoothGatt;I)V
107  */
108 JNIEXPORT void JNICALL
109 Java_org_iotivity_ca_CaLeClientInterface_caLeGattNWServicesDiscoveredCallback
110 (JNIEnv *, jobject, jobject, jint);
111 /*
112  * Class:     org_iotivity_ca_CaLeClientInterface
113  * Method:    caLeGattCharacteristicWritjclasseCallback
114  * Signature: (Landroid/bluetooth/BluetoothGatt;[BI)V
115  */
116 JNIEXPORT void JNICALL
117 Java_org_iotivity_ca_CaLeClientInterface_caLeGattCharacteristicWriteCallback
118 (JNIEnv *, jobject, jobject, jbyteArray, jint);
119
120 /*
121  * Class:     org_iotivity_ca_CaLeClientInterface
122  * Method:    caLeGattCharacteristicChangedCallback
123  * Signature: (Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattCharacteristic;)V
124  */
125 JNIEXPORT void JNICALL
126 Java_org_iotivity_ca_CaLeClientInterface_caLeGattCharacteristicChangedCallback
127 (JNIEnv *, jobject, jobject, jbyteArray);
128
129 /*
130  * Class:     org_iotivity_ca_CaLeClientInterface
131  * Method:    caLeGattDescriptorWriteCallback
132  * Signature: (Landroid/bluetooth/BluetoothGatt;I)V
133  */
134 JNIEXPORT void JNICALL
135 Java_org_iotivity_ca_CaLeClientInterface_caLeGattDescriptorWriteCallback
136 (JNIEnv *, jobject, jobject, jint);
137
138 /*
139  * Class:     org_iotivity_ca_CaLeClientInterface
140  * Method:    caLeStateChangedCallback
141  * Signature: (I)V
142  */
143 JNIEXPORT void JNICALL
144 Java_org_iotivity_ca_CaLeClientInterface_caLeStateChangedCallback
145 (JNIEnv *, jobject, jint);
146
147 /*
148  * Class:     org_iotivity_ca_CaLeClientInterface
149  * Method:    caLeBondStateChangedCallback
150  * Signature: (Ljava/lang/String;)V
151  */
152 JNIEXPORT void JNICALL
153 Java_org_iotivity_ca_CaLeClientInterface_caLeBondStateChangedCallback
154 (JNIEnv *, jobject, jstring);
155
156 /*
157  * Class:     org_iotivity_ca_CaLeClientInterface
158  * Method:    caManagerLeGattConnectionStateChangeCB
159  * Signature: (Landroid/bluetooth/BluetoothGatt;II)V
160  */
161 JNIEXPORT void JNICALL
162 Java_org_iotivity_ca_CaLeClientInterface_caManagerLeGattConnectionStateChangeCB
163 (JNIEnv *, jobject, jobject, jint, jint);
164
165 /*
166  * Class:     org_iotivity_ca_CaLeClientInterface
167  * Method:    caManagerAdapterStateChangedCallback
168  * Signature: (I)V
169  */
170 JNIEXPORT void JNICALL
171 Java_org_iotivity_ca_CaLeClientInterface_caManagerAdapterStateChangedCallback
172 (JNIEnv *, jobject, jint);
173
174 /*
175  * Class:     org_iotivity_ca_CaLeClientInterface
176  * Method:    caManagerBondStateChangedCallback
177  * Signature: (Landroid/bluetooth/BluetoothDevice;)V
178  */
179 JNIEXPORT void JNICALL
180 Java_org_iotivity_ca_CaLeClientInterface_caManagerBondStateChangedCallback
181 (JNIEnv *, jobject, jobject);
182
183 /*
184  * Class:     org_iotivity_ca_CaLeClientInterface
185  * Method:    caManagerLeServicesDiscoveredCallback
186  * Signature: (Landroid/bluetooth/BluetoothGatt;I)V
187  */
188 JNIEXPORT void JNICALL
189 Java_org_iotivity_ca_CaLeClientInterface_caManagerLeServicesDiscoveredCallback
190 (JNIEnv *, jobject, jobject, jint);
191
192 /*
193  * Class:     org_iotivity_ca_CaLeClientInterface
194  * Method:    caManagerLeRemoteRssiCallback
195  * Signature: (Landroid/bluetooth/BluetoothGatt;II)V
196  */
197 JNIEXPORT void JNICALL
198 Java_org_iotivity_ca_CaLeClientInterface_caManagerLeRemoteRssiCallback
199 (JNIEnv *, jobject, jobject, jint, jint);
200
201 /*
202  * Class:     org_iotivity_ca_CaLeClientInterface
203  * Method:    caLeGattMtuChangedCallback
204  * Signature: (Landroid/bluetooth/BluetoothGatt;II)V
205  */
206 JNIEXPORT void JNICALL
207 Java_org_iotivity_ca_CaLeClientInterface_caLeGattMtuChangedCallback
208 (JNIEnv *, jobject, jobject, jint, jint);
209
210
211 #ifdef __cplusplus
212 }
213 #endif
214 #endif
215