System object

This is a top-level object that contains the capabilities object and the security object. You must use the System object to gain access to these objects and their properties. For example, the following code checks to see if a system has audio capabilities.

System.capabilities.hasAudio;