Revert commit
This commit is contained in:
parent
c6e7ae3bd5
commit
faa3c6fad4
@ -2,18 +2,17 @@ package it.tdlight.tdnative;
|
||||
|
||||
import it.tdlight.jni.TdApi;
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
public class NativeClient {
|
||||
|
||||
protected static native int createNativeClient();
|
||||
|
||||
protected static native <R extends TdApi.Object> void nativeClientSend(int nativeClientId,
|
||||
long eventId,
|
||||
TdApi.Function<R> function);
|
||||
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 <R extends TdApi.Object> TdApi.Object nativeClientExecute(TdApi.Function<R> function);
|
||||
protected static native TdApi.Object nativeClientExecute(TdApi.Function function);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user