Lines Matching refs:player

71  * the the underlying media player set by {@link Builder} or
172 * sent to the player directly to prepare or play the contents.
223 * Called when a controller sent a command that will be sent directly to the player. Return
224 * {@code false} here to reject the request and stop sending command to the player.
412 * Called when the player's current playing item is changed
418 * @param player the player for this event
423 @NonNull MediaPlayerBase player, @NonNull MediaItem2 item) { }
426 * Called when the player is <i>prepared</i>, i.e. it is ready to play the content
429 * @param player the player for this event
432 public void onMediaPrepared(@NonNull MediaSession2 session, @NonNull MediaPlayerBase player,
436 * Called to indicate that the state of the player has changed.
437 * See {@link MediaPlayerBase#getPlayerState()} for polling the player state.
439 * @param player the player for this event
440 * @param state the new state of the player.
443 @NonNull MediaPlayerBase player, @PlayerState int state) { }
449 * @param player the player for this event
454 @NonNull MediaPlayerBase player, @NonNull MediaItem2 item, @BuffState int state) { }
459 * @param player the player for this event
463 @NonNull MediaPlayerBase player, float speed) { }
469 * @param mpb the player that has completed seeking.
561 * @param player a {@link MediaPlayerBase} that handles actual media playback in your app.
563 @NonNull U setPlayer(@NonNull MediaPlayerBase player) {
564 mProvider.setPlayer_impl(player);
577 * {@code player}
586 * system will adjust the appropriate stream volume for this session's player.
662 public @NonNull Builder setPlayer(@NonNull MediaPlayerBase player) {
663 return super.setPlayer(player);
907 * @param player a {@link MediaPlayerBase} that handles actual media playback in your app
908 * @param playlistAgent a {@link MediaPlaylistAgent} that manages playlist of the {@code player}
910 * appropriate stream volume for this session's player.
912 public void updatePlayer(@NonNull MediaPlayerBase player,
914 mProvider.updatePlayer_impl(player, playlistAgent, volumeProvider);
923 * @return player
1044 * Stop playback, and reset the player to the initial state.
1053 * Request that the player prepare its playback. In other words, other sessions can continue
1099 * Gets the current player state.
1101 * @return the current player state
1127 * Gets the current buffering state of the player.