Update NativeClient.java
This commit is contained in:
parent
7aa2d03426
commit
c310fb7643
@ -22,10 +22,14 @@ import it.tdlight.jni.TdApi.Function;
|
||||
import it.tdlight.jni.TdApi.Object;
|
||||
|
||||
public class NativeClient {
|
||||
protected static native long createNativeClient();
|
||||
protected static native void nativeClientSend(long nativeClientId, long eventId, Function function);
|
||||
protected static native int nativeClientReceive(long nativeClientId, long[] eventIds, Object[] events, double timeout);
|
||||
protected static native int nativeClientReceive(long nativeClientId, long[] eventIds, Object[] events, double timeout, boolean include_responses, boolean include_updates);
|
||||
protected static native Object nativeClientExecute(Function function);
|
||||
protected static native void destroyNativeClient(long nativeClientId);
|
||||
|
||||
private static native int createNativeClient();
|
||||
|
||||
private static native void nativeClientSend(int nativeClientId, long eventId, TdApi.Function function);
|
||||
|
||||
private static native int nativeClientReceive(int[] clientIds, long[] eventIds, TdApi.Object[] events, double timeout);
|
||||
|
||||
private static native int nativeClientReceive(int[] clientIds, long[] eventIds, TdApi.Object[] events, double timeout, boolean include_responses, boolean include_updates);
|
||||
|
||||
private static native TdApi.Object nativeClientExecute(TdApi.Function function);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user