How can the current TV platform be conditionally checked?

Hello,

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.)?

Thanks!

See How to conditionally check current TV platform?