- Enclosing class:
- TdApi
Informs TDLib on a file generation progress.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
int
Expected size of the generated file, in bytes; 0 if unknown.long
The identifier of the generation process.int
The number of bytes already generated. -
Constructor Summary
ConstructorDescriptionInforms TDLib on a file generation progress.SetFileGenerationProgress
(long generationId, int expectedSize, int localPrefixSize) Informs TDLib on a file generation progress.Informs TDLib on a file generation progress. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
generationId
public long generationIdThe identifier of the generation process. -
expectedSize
public int expectedSizeExpected size of the generated file, in bytes; 0 if unknown. -
localPrefixSize
public int localPrefixSizeThe number of bytes already generated. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetFileGenerationProgress
public SetFileGenerationProgress()Informs TDLib on a file generation progress. ReturnsOk
-
SetFileGenerationProgress
public SetFileGenerationProgress(long generationId, int expectedSize, int localPrefixSize) Informs TDLib on a file generation progress. ReturnsOk
- Parameters:
generationId
- long The identifier of the generation process.expectedSize
- int Expected size of the generated file, in bytes; 0 if unknown.localPrefixSize
- int The number of bytes already generated.
-
SetFileGenerationProgress
Informs TDLib on a file generation progress. ReturnsOk
- 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()
-