mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Clean up terminology for MediaSession extension
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=164705750
This commit is contained in:
parent
74e8acf14f
commit
bc0829503a
2 changed files with 5 additions and 5 deletions
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
## Description ##
|
## Description ##
|
||||||
|
|
||||||
The MediaSession extension mediates between an ExoPlayer instance and a
|
The MediaSession extension mediates between a Player (or ExoPlayer) instance
|
||||||
[MediaSession][]. It automatically retrieves and implements playback actions
|
and a [MediaSession][]. It automatically retrieves and implements playback
|
||||||
and syncs the player state with the state of the media session. The behaviour
|
actions and syncs the player state with the state of the media session. The
|
||||||
can be extended to support other playback and custom actions.
|
behaviour can be extended to support other playback and custom actions.
|
||||||
|
|
||||||
[MediaSession]: https://developer.android.com/reference/android/support/v4/media/session/MediaSessionCompat.html
|
[MediaSession]: https://developer.android.com/reference/android/support/v4/media/session/MediaSessionCompat.html
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ import java.util.Map;
|
||||||
* Connects a {@link MediaSessionCompat} to a {@link Player}.
|
* Connects a {@link MediaSessionCompat} to a {@link Player}.
|
||||||
* <p>
|
* <p>
|
||||||
* The connector listens for actions sent by the media session's controller and implements these
|
* The connector listens for actions sent by the media session's controller and implements these
|
||||||
* actions by calling appropriate ExoPlayer methods. The playback state of the media session is
|
* actions by calling appropriate player methods. The playback state of the media session is
|
||||||
* automatically synced with the player. The connector can also be optionally extended by providing
|
* automatically synced with the player. The connector can also be optionally extended by providing
|
||||||
* various collaborators:
|
* various collaborators:
|
||||||
* <ul>
|
* <ul>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue