Package it.tdlight.jni
Class TdApi.TestReturnError
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.TestReturnError
- Enclosing class:
- TdApi
public static class TdApi.TestReturnError extends TdApi.Function
Returns the specified error and ensures
that the Error object is used; for
testing only. Can be called synchronously.
Returns Error
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.Error
error
The error to be returned. -
Constructor Summary
Constructors Constructor Description TestReturnError()
Returns the specified error and ensures that the Error object is used; for testing only.TestReturnError(TdApi.Error error)
Returns the specified error and ensures that the Error object is used; for testing only.TestReturnError(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
error
The error to be returned. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
TestReturnError
public TestReturnError()Returns the specified error and ensures that the Error object is used; for testing only. Can be called synchronously.Returns
Error
-
TestReturnError
Returns the specified error and ensures that the Error object is used; for testing only. Can be called synchronously.Returns
Error
- Parameters:
error
- Error The error to be returned.
-
TestReturnError
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-