ScreenSizeThumbnailFormatSelector

Selects the thumbnail format based on the screen size of the device.

Functions

Link copied to clipboard
open fun create(context: Context): ScreenSizeThumbnailFormatSelector
Creates a new ScreenSizeThumbnailFormatSelector with a default factor of 0.5.
open fun create(context: Context, factor: Float): ScreenSizeThumbnailFormatSelector
The factor parameter represents a percentage of the screen width and screen height.
Link copied to clipboard
open fun select(previewThumbnailFormatList: List<PreviewThumbnailFormat>): PreviewThumbnailFormat
Selects a PreviewThumbnailFormat from a given list.