java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.BackgroundType
it.tdlight.jni.TdApi.BackgroundTypeWallpaper
- Enclosing class:
- TdApi
A wallpaper in JPEG format.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
True, if the wallpaper must be downscaled to fit in 450x450 square and then box-blurred with radius 12.boolean
True, if the background needs to be slightly moved when device is tilted. -
Constructor Summary
ConstructorDescriptionA wallpaper in JPEG format.BackgroundTypeWallpaper
(boolean isBlurred, boolean isMoving) A wallpaper in JPEG format.BackgroundTypeWallpaper
(DataInput input) A wallpaper in JPEG format. -
Method Summary
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:
-
-
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
A wallpaper in JPEG format.- 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()
-