java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateAccentColors
- Enclosing class:
- TdApi
The list of supported accent colors has changed.
-
Field Summary
Modifier and TypeFieldDescriptionint[]
The list of accent color identifiers, which can be set through setAccentColor and setChatAccentColor.Information about supported colors; colors with identifiers 0 (red), 1 (orange), 2 (purple/violet), 3 (green), 4 (cyan), 5 (blue), 6 (pink) must always be supported and aren't included in the list.static final int
Identifier uniquely determining type of the object. -
Constructor Summary
ConstructorDescriptionThe list of supported accent colors has changed.UpdateAccentColors
(TdApi.AccentColor[] colors, int[] availableAccentColorIds) The list of supported accent colors has changed.UpdateAccentColors
(DataInput input) The list of supported accent colors has changed. -
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.Object
serialize, toString
-
Field Details
-
colors
Information about supported colors; colors with identifiers 0 (red), 1 (orange), 2 (purple/violet), 3 (green), 4 (cyan), 5 (blue), 6 (pink) must always be supported and aren't included in the list. The exact colors for the accent colors with identifiers 0-6 must be taken from the app theme. -
availableAccentColorIds
public int[] availableAccentColorIdsThe list of accent color identifiers, which can be set through setAccentColor and setChatAccentColor. The colors must be shown in the specififed order. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateAccentColors
public UpdateAccentColors()The list of supported accent colors has changed. -
UpdateAccentColors
The list of supported accent colors has changed.- Parameters:
colors
- Information about supported colors; colors with identifiers 0 (red), 1 (orange), 2 (purple/violet), 3 (green), 4 (cyan), 5 (blue), 6 (pink) must always be supported and aren't included in the list. The exact colors for the accent colors with identifiers 0-6 must be taken from the app theme.availableAccentColorIds
- The list of accent color identifiers, which can be set through setAccentColor and setChatAccentColor. The colors must be shown in the specififed order.
-
UpdateAccentColors
The list of supported accent colors has changed.- 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()
-