MediaSession show media controls on Android

This commit is contained in:
Fernando Jiménez Moreno 2019-10-18 12:02:47 +02:00
parent 761f21fc8b
commit dd63ba425f
11 changed files with 183 additions and 26 deletions

View file

@ -224,9 +224,9 @@ pub struct MediaMetadata {
pub enum MediaSessionPlaybackState {
/// The browsing context does not specify whether its playing or paused.
None_ = 1,
/// The browsing context has paused media and it can be resumed.
Playing,
/// The browsing context is currently playing media and it can be paused.
Playing,
/// The browsing context has paused media and it can be resumed.
Paused,
}