SRGSSR / pillarbox-documentation

Technical cross-platform documentation for Pillarbox
https://srgssr.github.io/pillarbox-documentation
MIT License
3 stars 0 forks source link

Add `media_segment` support? #35

Open defagos opened 1 year ago

defagos commented 1 year ago

As an analyst team member I might want to be able to identify when segments are tapped by users in a way consistent among apps.

Context

Currently Letterbox implements media_segment internally when a segment is tapped. Since Pillarbox might not implement segments natively, and provided we can determine there is a common need among apps, Pillarbox could provide an official event name to promote consistency. Apps would still be responsible of sending this event if they implement some segment navigation interface.

Acceptance criteria

Tasks