We currently provide methods to play a given URN, or to switch to another URN or subdivision. We could add a time parameter to both methods. For API consistency, this parameter must be clamped to the range of the subdivision. The minimum admissible value, zero, will correspond to the subdivision beginning, and be the default. The maximum start time is the subdivision duration.
This way, the API provides more flexibility, and stays consistent. Since playing a subdivision is different from playing at some time (active user selection, and thus different analytics), we cannot namely let selection playback start outside the selected subdivision time range.
We currently provide methods to play a given URN, or to switch to another URN or subdivision. We could add a time parameter to both methods. For API consistency, this parameter must be clamped to the range of the subdivision. The minimum admissible value, zero, will correspond to the subdivision beginning, and be the default. The maximum start time is the subdivision duration.
This way, the API provides more flexibility, and stays consistent. Since playing a subdivision is different from playing at some time (active user selection, and thus different analytics), we cannot namely let selection playback start outside the selected subdivision time range.
This task requires https://github.com/SRGSSR/SRGMediaPlayer-iOS/issues/37 to be closed first.