- Enclosing class:
- TdApi
Adds a message to TDLib internal log. Can be called synchronously.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Text of a message to log.int
The minimum verbosity level needed for the message to be logged; 0-1023. -
Constructor Summary
ConstructorDescriptionAdds a message to TDLib internal log.AddLogMessage
(int verbosityLevel, String text) Adds a message to TDLib internal log.AddLogMessage
(DataInput input) Adds a message to TDLib internal log. -
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.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
verbosityLevel
public int verbosityLevelThe minimum verbosity level needed for the message to be logged; 0-1023. -
text
Text of a message to log. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AddLogMessage
public AddLogMessage()Adds a message to TDLib internal log. Can be called synchronously.Returns
Ok
-
AddLogMessage
Adds a message to TDLib internal log. Can be called synchronously.Returns
Ok
- Parameters:
verbosityLevel
- The minimum verbosity level needed for the message to be logged; 0-1023.text
- Text of a message to log.Returns
Ok
-
AddLogMessage
Adds a message to TDLib internal log. Can be called synchronously.Returns
Ok
- 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()
-