toggle menu
Brightcove Player SDK for Android 10.1.2
10.1.2
thumbnail
switch theme
search in API
thumbnail
/
com.brightcove.player.mediacontroller
/
ScreenSizeThumbnailFormatSelector
Screen
Size
Thumbnail
Format
Selector
open
class
ScreenSizeThumbnailFormatSelector
:
PreviewThumbnailFormatSelector
Selects the thumbnail format based on the screen size of the device.
Members
Functions
create
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.
select
Link copied to clipboard
open
fun
select
(
previewThumbnailFormatList
:
List
<
PreviewThumbnailFormat
>
)
:
PreviewThumbnailFormat
Selects a PreviewThumbnailFormat from a given list.