Package it.tdlight.jni
Class TdApi.BackgroundTypePattern
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.BackgroundType
it.tdlight.jni.TdApi.BackgroundTypePattern
- Enclosing class:
- TdApi
public static class TdApi.BackgroundTypePattern extends TdApi.BackgroundType
A PNG or TGV (gzipped subset of SVG
with MIME type "application/x-tgwallpattern")
pattern to be combined with the
background fill chosen by the user.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.BackgroundFill
fill
Description of the background fill.int
intensity
Intensity of the pattern when it is shown above the filled background; 0-100.boolean
isMoving
True, if the background needs to be slightly moved when device is tilted. -
Constructor Summary
Constructors Constructor Description BackgroundTypePattern()
A PNG or TGV (gzipped subset of SVG with MIME type "application/x-tgwallpattern") pattern to be combined with the background fill chosen by the user.BackgroundTypePattern(TdApi.BackgroundFill fill, int intensity, boolean isMoving)
A PNG or TGV (gzipped subset of SVG with MIME type "application/x-tgwallpattern") pattern to be combined with the background fill chosen by the user.BackgroundTypePattern(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
fill
Description of the background fill. -
intensity
public int intensityIntensity of the pattern when it is shown above the filled background; 0-100. -
isMoving
public boolean isMovingTrue, if the background needs to be slightly moved when device is tilted. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
BackgroundTypePattern
public BackgroundTypePattern()A PNG or TGV (gzipped subset of SVG with MIME type "application/x-tgwallpattern") pattern to be combined with the background fill chosen by the user. -
BackgroundTypePattern
A PNG or TGV (gzipped subset of SVG with MIME type "application/x-tgwallpattern") pattern to be combined with the background fill chosen by the user.- Parameters:
fill
- BackgroundFill Description of the background fill.intensity
- int Intensity of the pattern when it is shown above the filled background; 0-100.isMoving
- boolean True, if the background needs to be slightly moved when device is tilted.
-
BackgroundTypePattern
- 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()
-