setPosterWithRes

open override fun setPosterWithRes(resId: Int?, scaleType: PosterScaleType)

set poster between player and control panel

Parameters

resId

The resource ID of the poster image. If null, the poster will be cleared and the control panel will be shown instead.

scaleType

The desired scaling behavior for the poster. Supports: