java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.OptionValue
it.tdlight.jni.TdApi.OptionValueBoolean
- Enclosing class:
- TdApi
Represents a boolean option.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
The value of the option. -
Constructor Summary
ConstructorDescriptionRepresents a boolean option.OptionValueBoolean
(boolean value) Represents a boolean option.OptionValueBoolean
(DataInput input) Represents a boolean option. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
value
public boolean valueThe value of the option. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
OptionValueBoolean
public OptionValueBoolean()Represents a boolean option. -
OptionValueBoolean
public OptionValueBoolean(boolean value) Represents a boolean option.- Parameters:
value
- boolean The value of the option.
-
OptionValueBoolean
Represents a boolean option.- 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()
-