mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-08-11 21:11:33 +03:00
Updated Playback states & service states (markdown)
parent
9069abbb05
commit
20879f4201
@ -6,11 +6,11 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
| Condition | Playback State | Service running | Service as Foreground | stopForeground() |
|
| Condition | Playback State | Service running | Service has notification | Service as Foreground | stopForeground() | registerMediaButtonReceiver |
|
||||||
|----------------------------------|----------------|-----------------|-----------------------|--------------------------------------------|
|
|----------------------------------|----------------|-----------------|--------------------------|-----------------------|--------------------------------------------|--------------------------------------|
|
||||||
| App starts, no resumable track | STOPPED | ✗ | ✗ | No |
|
| App starts, no resumable track | STOPPED | ? | ✗ | ✗ | ✗ | Only possible if service is running. |
|
||||||
| App starts, with resumable track | PAUSED | ✓ | ? | No |
|
| App starts, with resumable track | PAUSED | ✓ | ✓ | ? | ✗ | ✓ |
|
||||||
| Active playing | PLAYING | ✓ | ✓ | No |
|
| Active playing | PLAYING | ✓ | ✓ | ✓ | ✗ | ✓ |
|
||||||
| Paused by the user | PAUSED | ✓ | ? | stopForeground(DETACH) |
|
| Paused by the user | PAUSED | ✓ | ✓ | ? | stopForeground(DETACH) | ✓ |
|
||||||
| Playback has finished / idle | STOPPED | ? | ? | stopForeground() or stopForeground(DETACH) |
|
| Playback has finished / idle | STOPPED | ? | ? | ? | stopForeground() or stopForeground(DETACH) | Only possible if service is running. |
|
||||||
| | | | | |
|
| | | | | | | |
|
Loading…
x
Reference in New Issue
Block a user