We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PlayerView.setControllerAnimationEnabled(boolean)
1 parent 26ce3f0 commit 4caed3cCopy full SHA for 4caed3c
libraries/ui/src/main/java/androidx/media3/ui/PlayerView.java
@@ -967,6 +967,16 @@ public void setControllerVisibilityListener(@Nullable ControllerVisibilityListen
967
}
968
969
970
+ /**
971
+ * Sets whether {@linkplain PlayerControlView#isAnimationEnabled() controller animation is
972
+ * enabled}.
973
+ */
974
+ @UnstableApi
975
+ public void setControllerAnimationEnabled(boolean animationEnabled) {
976
+ Assertions.checkStateNotNull(controller);
977
+ controller.setAnimationEnabled(animationEnabled);
978
+ }
979
+
980
/**
981
* Sets the {@link PlayerControlView.VisibilityListener}.
982
*
0 commit comments