mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Improve doc for setKeepContentOnPlayerReset.
This also applies when seeking or transitioning to unprepared media, which isn't clear from the current documentation. Issue:#5267 PiperOrigin-RevId: 226486685
This commit is contained in:
parent
71f72c5953
commit
3833d98755
1 changed files with 3 additions and 2 deletions
|
|
@ -679,8 +679,9 @@ public class PlayerView extends FrameLayout {
|
||||||
/**
|
/**
|
||||||
* Sets whether the currently displayed video frame or media artwork is kept visible when the
|
* Sets whether the currently displayed video frame or media artwork is kept visible when the
|
||||||
* player is reset. A player reset is defined to mean the player being re-prepared with different
|
* player is reset. A player reset is defined to mean the player being re-prepared with different
|
||||||
* media, {@link Player#stop(boolean)} being called with {@code reset=true}, or the player being
|
* media, the player transitioning to unprepared media, {@link Player#stop(boolean)} being called
|
||||||
* replaced or cleared by calling {@link #setPlayer(Player)}.
|
* with {@code reset=true}, or the player being replaced or cleared by calling {@link
|
||||||
|
* #setPlayer(Player)}.
|
||||||
*
|
*
|
||||||
* <p>If enabled, the currently displayed video frame or media artwork will be kept visible until
|
* <p>If enabled, the currently displayed video frame or media artwork will be kept visible until
|
||||||
* the player set on the view has been successfully prepared with new media and loaded enough of
|
* the player set on the view has been successfully prepared with new media and loaded enough of
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue