Airplay Class?

I have noticed some apps display different content on the Apple TV through airplay to on the iPad screen. I was wandering if you could add a class to help to this. For example if you did this:

-- Example
-- (Don't try this, it is just a suggestion of what COULD be made possible.)

-- This function gets called once every frame
function draw()
    -- This sets the background colour
    background(40, 40, 50)
end

-- This function gets called once every frame on the Apple TV
function airplay:draw()
    -- This sets the background colour
    background(255, 255, 255, 255)
end


And it would display black on the iPad/iOS device but white through airplay.
This would just be a fun thing to play with.
Happy Programming;
J.A.J.

Could be great

Yes,yes,yes! I would love this feature!

This would be an amazing feature for board games and such!

But instead AirPlay:draw maybe airplay in an beatiful purple and make it not able to say sty = airplay will return error…
Here is what to do:

airplay {
-- here the function (it has to be in draw)
}