How can i make app that casts only the app to the screen, with only components no extenstion

how can i make an app that when you click on the button, it signals every tv to the list when you click one of them, it cast to the tv, without any extenstion. Just the app of component like (bluetooth, listview etc.just cast the app to the TV but not the entire home screen of the phones, just cast the app that possible?

A post was merged into an existing topic: Is it impossible to make an app like this?