Package it.tdlight.jni
Class TdApi.BackgroundTypeWallpaper
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.BackgroundType
it.tdlight.jni.TdApi.BackgroundTypeWallpaper
- Enclosing class:
- TdApi
public static class TdApi.BackgroundTypeWallpaper extends TdApi.BackgroundType
A wallpaper in JPEG format.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
boolean
isBlurred
True, if the wallpaper must be downscaled to fit in 450x450 square and then box-blurred with radius 12.boolean
isMoving
True, if the background needs to be slightly moved when device is tilted. -
Constructor Summary
Constructors Constructor Description BackgroundTypeWallpaper()
A wallpaper in JPEG format.BackgroundTypeWallpaper(boolean isBlurred, boolean isMoving)
A wallpaper in JPEG format.BackgroundTypeWallpaper(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
-
isBlurred
public boolean isBlurredTrue, if the wallpaper must be downscaled to fit in 450x450 square and then box-blurred with radius 12. -
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
-
BackgroundTypeWallpaper
public BackgroundTypeWallpaper()A wallpaper in JPEG format. -
BackgroundTypeWallpaper
public BackgroundTypeWallpaper(boolean isBlurred, boolean isMoving)A wallpaper in JPEG format.- Parameters:
isBlurred
- boolean True, if the wallpaper must be downscaled to fit in 450x450 square and then box-blurred with radius 12.isMoving
- boolean True, if the background needs to be slightly moved when device is tilted.
-
BackgroundTypeWallpaper
- 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()
-