Package it.tdlight.jni
Class TdApi.OptionValueBoolean
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.OptionValue
it.tdlight.jni.TdApi.OptionValueBoolean
- Enclosing class:
- TdApi
public static class TdApi.OptionValueBoolean extends TdApi.OptionValue
Represents a boolean option.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
boolean
value
The value of the option. -
Constructor Summary
Constructors Constructor Description OptionValueBoolean()
Represents a boolean option.OptionValueBoolean(boolean value)
Represents a boolean option.OptionValueBoolean(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
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:
- Constant Field Values
-
-
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
- 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()
-