2020-10-10 03:26:24 +02:00
|
|
|
package it.tdlight.jni;
|
|
|
|
|
|
|
|
public class NativeClient {
|
2020-10-12 18:02:48 +02:00
|
|
|
|
2020-10-12 18:46:42 +02:00
|
|
|
protected static native int createNativeClient();
|
2020-10-12 18:02:48 +02:00
|
|
|
|
2020-10-12 18:46:42 +02:00
|
|
|
protected static native void nativeClientSend(int nativeClientId, long eventId, TdApi.Function function);
|
2020-10-12 18:02:48 +02:00
|
|
|
|
2020-10-12 18:46:42 +02:00
|
|
|
protected static native int nativeClientReceive(int[] clientIds, long[] eventIds, TdApi.Object[] events, double timeout);
|
2020-10-12 18:02:48 +02:00
|
|
|
|
2020-10-12 18:46:42 +02:00
|
|
|
protected static native TdApi.Object nativeClientExecute(TdApi.Function function);
|
2020-10-10 03:26:24 +02:00
|
|
|
}
|