tdlight-java-natives/src/main/jni-java-src/it/tdlight/tdnative/NativeClient.java
2021-10-22 19:52:47 +02:00

19 lines
498 B
Java

package it.tdlight.tdnative;
import it.tdlight.jni.TdApi;
@SuppressWarnings("rawtypes")
public class NativeClient {
protected static native int createNativeClient();
protected static native void nativeClientSend(int nativeClientId, long eventId, TdApi.Function function);
protected static native int nativeClientReceive(int[] clientIds,
long[] eventIds,
TdApi.Object[] events,
double timeout);
protected static native TdApi.Object nativeClientExecute(TdApi.Function function);
}