Package-level declarations

Types

Link copied to clipboard
data class StreamCdnImageResizing(val imageResizingEnabled: Boolean, @FloatRange(from = 0.0, to = 1.0, fromInclusive = false) val resizedWidthPercentage: Float, @FloatRange(from = 0.0, to = 1.0, fromInclusive = false) val resizedHeightPercentage: Float, val resizeMode: StreamCdnResizeImageMode?, val cropMode: StreamCdnCropImageMode?)

Used to adjust the request to resize images hosted on Stream's CDN.

Functions

Link copied to clipboard

A convenience method which applies Stream CDN image resizing if it's enabled and applicable. It doesn't hold any special value other than minimizing repetition.