java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputFile
it.tdlight.jni.TdApi.InputFileGenerated
- Enclosing class:
- TdApi
A file generated by the application.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.String specifying the conversion applied to the original file; must be persistent across application restarts.long
Expected size of the generated file, in bytes; 0 if unknown.Local path to a file from which the file is generated; may be empty if there is no such file. -
Constructor Summary
ConstructorDescriptionA file generated by the application.InputFileGenerated
(DataInput input) A file generated by the application.InputFileGenerated
(String originalPath, String conversion, long expectedSize) A file generated by the application. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
originalPath
Local path to a file from which the file is generated; may be empty if there is no such file. -
conversion
String specifying the conversion applied to the original file; must be persistent across application restarts. Conversions beginning with '#' are reserved for internal TDLib usage. -
expectedSize
public long expectedSizeExpected size of the generated file, in bytes; 0 if unknown. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputFileGenerated
public InputFileGenerated()A file generated by the application. -
InputFileGenerated
A file generated by the application.- Parameters:
originalPath
- Local path to a file from which the file is generated; may be empty if there is no such file.conversion
- String specifying the conversion applied to the original file; must be persistent across application restarts. Conversions beginning with '#' are reserved for internal TDLib usage.expectedSize
- Expected size of the generated file, in bytes; 0 if unknown.
-
InputFileGenerated
A file generated by the application.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-