- Enclosing class:
- TdApi
Informs TDLib on a file generation progress.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intlongExpected size of the generated file, in bytes; 0 if unknown.longThe identifier of the generation process.longThe number of bytes already generated. -
Constructor Summary
ConstructorsConstructorDescriptionInforms 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
toStringMethods 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-