StreamWatermark

data class StreamWatermark(val created: String? = null, val downloadedFrom: String? = null, val height: Int? = null, val name: String? = null, val opacity: Double? = null, val padding: Double? = null, val position: String? = null, val scale: Double? = null, val size: Double? = null, val uid: String? = null, val width: Int? = null)

Constructors

Link copied to clipboard
constructor(created: String? = null, downloadedFrom: String? = null, height: Int? = null, name: String? = null, opacity: Double? = null, padding: Double? = null, position: String? = null, scale: Double? = null, size: Double? = null, uid: String? = null, width: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val created: String? = null

The date and a time a watermark profile was created.

Link copied to clipboard
val downloadedFrom: String? = null

The source URL for a downloaded image. If the watermark profile was created via direct upload, this field is null.

Link copied to clipboard
val height: Int? = null

The height of the image in pixels.

Link copied to clipboard
val name: String? = null

A short description of the watermark profile.

Link copied to clipboard
val opacity: Double? = null

The translucency of the image. A value of 0.0 makes the image completely transparent, and 1.0 makes the image completely opaque. Note that if the image is already semi-transparent, setting this to 1.0 will not make the image completely opaque.

Link copied to clipboard
val padding: Double? = null

The whitespace between the adjacent edges (determined by position) of the video and the image. 0.0 indicates no padding, and 1.0 indicates a fully padded video width or length, as determined by the algorithm.

Link copied to clipboard
val position: String? = null

The location of the image. Valid positions are: upperRight, upperLeft, lowerLeft, lowerRight, and center. Note that center ignores the padding parameter.

Link copied to clipboard
val scale: Double? = null

The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. 0.0 indicates no scaling (use the size of the image as-is), and 1.0fills the entire video.

Link copied to clipboard
val size: Double? = null

The size of the image in bytes.

Link copied to clipboard
val uid: String? = null

The unique identifier for a watermark profile.

Link copied to clipboard
val width: Int? = null

The width of the image in pixels.