GiphyAttachmentFactory
Parameters
Used to modify the quality and dimensions of the rendered Giphy attachments.
Sets the Giphy container sizing strategy. Setting it to automatic makes the container capable of adaptive resizing and ignore StreamDimens.attachmentsContentGiphyWidth and StreamDimens.attachmentsContentGiphyHeight dimensions, however you can still clip maximum dimensions using StreamDimens.attachmentsContentGiphyMaxWidth and StreamDimens.attachmentsContentGiphyMaxHeight. Setting it to fixed size mode will make it respect all given dimensions.
Used to determine the way Giphys are scaled inside the Image composable.
Lambda called when an item gets clicked.
Lambda that checks if the factory can handle the given attachments.
Deprecated
Use the constructor that does not take onContentItemClick parameter.
Replace with
GiphyAttachmentFactory(giphyInfoType, giphySizingMode, contentScale, onContentItemClick, canHandle)
Creates a new instance of GiphyAttachmentFactory with the default parameters.