This platform interface allows you to use audio_service on Linux with Desktop Environment supporting Media Player Remote Interfacing Specification.
Add the plugin to you flutter project.
flutter pub add audio_service_mpris
Methods
Name | Supported |
---|---|
Raise | ❌ |
Quit | ❌ |
Properties
Name | Supported | Value |
---|---|---|
CanQuit | ✅ | false |
Fullscreen | ✅ | false |
CanSetFullscreen | ✅ | false |
CanRaise | ✅ | false |
HasTrackList | ✅ | false |
Identity | ✅ | androidNotificationChannelId taken from audio_service platform config |
DesktopEntry | ✅ | Empty string |
SupportedUriSchemes | ✅ | [] |
SupportedMimeTypes | ✅ | [] |
Methods
Name | Supported |
---|---|
Next | ✅ |
Previous | ✅ |
Pause | ✅ |
PlayPause | ✅ |
Stop | ✅ |
Play | ✅ |
Seek | ❌ |
SetPosition | ✅ |
OpenUri | ❌ |
Signals
Name | Supported |
---|---|
Seeked | ❌ |
Properties
Name | Supported | Value |
---|---|---|
PlaybackStatus | ✅ | Being changed on AudioHandler player state change |
LoopStatus | ✅ | 'None' |
Rate | ✅ | 1.0 |
Shuffle | ❌ | |
Metadata | ✅ | Being changed on AudioHandler mediaItem change |
Volume | ❌ | AudioServicePlatform doesn't support it |
Position | ✅ | Being changed on AudioHandler player state change |
MinimumRate | ✅ | 1.0 |
MaximumRate | ✅ | 1.0 |
CanGoNext | ✅ | true |
CanGoPrevious | ✅ | true |
CanPlay | ✅ | true |
CanPause | ✅ | true |
CanSeek | ✅ | true |
CanControl | ✅ | true |
Not supported
Not supported