How can the current TV platform be conditionally checked?


What is the most straightforward approach to conditionally verify which TV platform the app is currently using? How can I conditionally check, for instance, that I wish to utilise a TV-specific endpoint (such Tizen, WebOS, etc.)?


See How to conditionally check current TV platform?