All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.app.bsky.embed.imagesViewImage.kt Maven / Gradle / Ivy

The newest version!
@file:Suppress("DEPRECATION")

package app.bsky.embed

import kotlin.String
import kotlin.Suppress
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.Uri

/**
 * @param thumb Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN
 * location provided by the App View.
 * @param fullsize Fully-qualified URL where a large version of the image can be fetched. May or may
 * not be the exact original blob. For example, CDN location provided by the App View.
 * @param alt Alt text description of the image, for accessibility.
 */
@Serializable
public data class ImagesViewImage(
  /**
   * Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location
   * provided by the App View.
   */
  public val thumb: Uri,
  /**
   * Fully-qualified URL where a large version of the image can be fetched. May or may not be the
   * exact original blob. For example, CDN location provided by the App View.
   */
  public val fullsize: Uri,
  /**
   * Alt text description of the image, for accessibility.
   */
  public val alt: String,
  public val aspectRatio: AspectRatio? = null,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy