Remember Last Position in Sermon
As a user, I need the player to remember my last position so that I don't have to restart each sermon when I play, pause, skip to next, skip to previous, or open and close Android Auto.
Acceptance Criteria:
-
GIVEN a user has previously listened to a particular sermon
- WHEN pausing the sermon
-
THEN the player remembers the time at which the audio paused
-
- WHEN playing the sermon
-
THEN the player resumes from the last known time
-
- WHEN skipping to the sermon
-
THEN the player plays from the last known time
-
- WHEN resuming Android Auto and starting the Branham Player
-
THEN the player remembers the last sermon and displays it as the first choice -
THEN the sermon's play head is at the last known time -
THEN the Branham Player does not automatically play the sermon
-
- WHEN pausing the sermon
-
GIVEN a user has not previously listened to a particular sermon
- WHEN playing the sermon
-
THEN the player starts from the beginning
-
- WHEN skipping to the sermon
-
THEN the player starts from the beginning
-
- WHEN playing the sermon
-
GIVEN a user is viewing the Android Auto player interface
- WHEN looking at the player controls
-
THEN there is a button to restart the sermon from the beginning -
AND the button is to the left of the skip to previous button
-
- WHEN looking at the player controls