1 /******************************************************************
3 * Copyright 2014 Samsung Electronics All Rights Reserved.
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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.
19 ******************************************************************/
22 /* Header for class org_iotivity_ca_caLeClientInterface */
24 #ifndef CA_Included_org_iotivity_ca_caLeClientInterface_H_
25 #define CA_Included_org_iotivity_ca_caLeClientInterface_H_
32 * Class: org_iotivity_ca_caLeClientInterface
33 * Method: caLeRegisterLeScanCallback
34 * Signature: (Landroid/bluetooth/BluetoothAdapter/LeScanCallback;)V
36 JNIEXPORT void JNICALL
37 Java_org_iotivity_ca_caLeClientInterface_caLeRegisterLeScanCallback
38 (JNIEnv *, jobject, jobject);
41 * Class: org_iotivity_ca_caLeClientInterface
42 * Method: caLeRegisterGattCallback
43 * Signature: (Landroid/bluetooth/BluetoothGattCallback;)V
45 JNIEXPORT void JNICALL
46 Java_org_iotivity_ca_caLeClientInterface_caLeRegisterGattCallback
47 (JNIEnv *, jobject, jobject);
50 * Class: org_iotivity_ca_caLeClientInterface
51 * Method: caLeScanCallback
52 * Signature: (Landroid/bluetooth/BluetoothDevice;)V
54 JNIEXPORT void JNICALL
55 Java_org_iotivity_ca_caLeClientInterface_caLeScanCallback
56 (JNIEnv *, jobject, jobject);
59 * Class: org_iotivity_ca_caLeClientInterface
60 * Method: caLeGattConnectionStateChangeCallback
61 * Signature: (Landroid/bluetooth/BluetoothGatt;II)V
63 JNIEXPORT void JNICALL
64 Java_org_iotivity_ca_caLeClientInterface_caLeGattConnectionStateChangeCallback
65 (JNIEnv *, jobject, jobject, jint, jint);
68 * Class: org_iotivity_ca_caLeClientInterface
69 * Method: caLeGattNWConnectionStateChangeCallback
70 * Signature: (Landroid/bluetooth/BluetoothGatt;II)V
72 JNIEXPORT void JNICALL
73 Java_org_iotivity_ca_caLeClientInterface_caLeGattNWConnectionStateChangeCallback
74 (JNIEnv *, jobject, jobject, jint, jint);
77 * Class: org_iotivity_ca_caLeClientInterface
78 * Method: caLeGattServicesDiscoveredCallback
79 * Signature: (Landroid/bluetooth/BluetoothGatt;I)V
81 JNIEXPORT void JNICALL
82 Java_org_iotivity_ca_caLeClientInterface_caLeGattServicesDiscoveredCallback
83 (JNIEnv *, jobject, jobject, jint);
86 * Class: org_iotivity_ca_caLeClientInterface
87 * Method: caLeGattNWServicesDiscoveredCallback
88 * Signature: (Landroid/bluetooth/BluetoothGatt;I)V
90 JNIEXPORT void JNICALL
91 Java_org_iotivity_ca_CaLeClientInterface_caLeGattNWServicesDiscoveredCallback
92 (JNIEnv *, jobject, jobject, jint);
94 * Class: org_iotivity_ca_caLeClientInterface
95 * Method: caLeGattCharacteristicWritjclasseCallback
96 * Signature: (Landroid/bluetooth/BluetoothGatt;[BI)V
98 JNIEXPORT void JNICALL
99 Java_org_iotivity_ca_caLeClientInterface_caLeGattCharacteristicWriteCallback
100 (JNIEnv *, jobject, jobject, jbyteArray, jint);
103 * Class: org_iotivity_ca_caLeClientInterface
104 * Method: caLeGattCharacteristicChangedCallback
105 * Signature: (Landroid/bluetooth/BluetoothGatt;Landroid/bluetooth/BluetoothGattCharacteristic;)V
107 JNIEXPORT void JNICALL
108 Java_org_iotivity_ca_caLeClientInterface_caLeGattCharacteristicChangedCallback
109 (JNIEnv *, jobject, jobject, jbyteArray);
112 * Class: org_iotivity_ca_caLeClientInterface
113 * Method: caLeGattDescriptorWriteCallback
114 * Signature: (Landroid/bluetooth/BluetoothGatt;I)V
116 JNIEXPORT void JNICALL
117 Java_org_iotivity_ca_caLeClientInterface_caLeGattDescriptorWriteCallback
118 (JNIEnv *, jobject, jobject, jint);
121 * Class: org_iotivity_ca_caLeClientInterface
122 * Method: caLeStateChangedCallback
125 JNIEXPORT void JNICALL
126 Java_org_iotivity_ca_caLeClientInterface_caLeStateChangedCallback
127 (JNIEnv *, jobject, jint);
130 * Class: org_iotivity_ca_caLeClientInterface
131 * Method: caLeBondStateChangedCallback
132 * Signature: (Ljava/lang/String;)V
134 JNIEXPORT void JNICALL
135 Java_org_iotivity_ca_caLeClientInterface_caLeBondStateChangedCallback
136 (JNIEnv *, jobject, jstring);
139 * Class: org_iotivity_ca_caLeClientInterface
140 * Method: caManagerLeGattConnectionStateChangeCB
141 * Signature: (Landroid/bluetooth/BluetoothGatt;II)V
143 JNIEXPORT void JNICALL
144 Java_org_iotivity_ca_CaLeClientInterface_caManagerLeGattConnectionStateChangeCB
145 (JNIEnv *, jobject, jobject, jint, jint);
148 * Class: org_iotivity_ca_caLeClientInterface
149 * Method: caManagerAdapterStateChangedCallback
152 JNIEXPORT void JNICALL
153 Java_org_iotivity_ca_CaLeClientInterface_caManagerAdapterStateChangedCallback
154 (JNIEnv *, jobject, jint);
157 * Class: org_iotivity_ca_caLeClientInterface
158 * Method: caManagerBondStateChangedCallback
159 * Signature: (Landroid/bluetooth/BluetoothDevice;)V
161 JNIEXPORT void JNICALL
162 Java_org_iotivity_ca_CaLeClientInterface_caManagerBondStateChangedCallback
163 (JNIEnv *, jobject, jobject);
166 * Class: org_iotivity_ca_jar_caleinterface
167 * Method: caManagerLeServicesDiscoveredCallback
168 * Signature: (Landroid/bluetooth/BluetoothGatt;I)V
170 JNIEXPORT void JNICALL
171 Java_org_iotivity_ca_CaLeClientInterface_caManagerLeServicesDiscoveredCallback
172 (JNIEnv *, jobject, jobject, jint);
175 * Class: org_iotivity_ca_jar_caleinterface
176 * Method: caManagerLeRemoteRssiCallback
177 * Signature: (Landroid/bluetooth/BluetoothGatt;II)V
179 JNIEXPORT void JNICALL
180 Java_org_iotivity_ca_CaLeClientInterface_caManagerLeRemoteRssiCallback
181 (JNIEnv *, jobject, jobject, jint, jint);