Class TdApi.BackgroundTypeWallpaper

Enclosing class:
TdApi

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

    • 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:
  • Constructor Details

    • 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.
  • 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 class TdApi.BackgroundType
      Returns:
      this.CONSTRUCTOR