- Enclosing class:
- TdApi
Informs TDLib on a file generation progress.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
long
Expected size of the generated file, in bytes; 0 if unknown.long
The identifier of the generation process.long
The number of bytes already generated. -
Constructor Summary
ConstructorDescriptionInforms TDLib on a file generation progress.SetFileGenerationProgress
(long generationId, long expectedSize, long 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 long expectedSizeExpected size of the generated file, in bytes; 0 if unknown. -
localPrefixSize
public long 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, long expectedSize, long localPrefixSize) Informs TDLib on a file generation progress. ReturnsOk
- Parameters:
generationId
- long The identifier of the generation process.expectedSize
- long Expected size of the generated file, in bytes; 0 if unknown.localPrefixSize
- long 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()
-