Class TdApi.BackgroundTypeWallpaper

  • Enclosing class:
    TdApi

    public static class TdApi.BackgroundTypeWallpaper
    extends TdApi.BackgroundType
    A wallpaper in JPEG format.
    • Field Detail

      • isBlurred

        public boolean isBlurred
        True, if the wallpaper must be downscaled to fit in 450x450 square and then box-blurred with radius 12.
      • isMoving

        public boolean isMoving
        True, if the background needs to be slightly moved when device is tilted.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • BackgroundTypeWallpaper

        public BackgroundTypeWallpaper()
        A wallpaper in JPEG format.
      • BackgroundTypeWallpaper

        public BackgroundTypeWallpaper​(boolean isBlurred,
                                       boolean isMoving)
        A wallpaper in JPEG format.
        Parameters:
        isBlurred - True, if the wallpaper must be downscaled to fit in 450x450 square and then box-blurred with radius 12.
        isMoving - True, if the background needs to be slightly moved when device is tilted.