shutdown()

Prev Next

shutdown()

The app shuts itself down and returns to the X1 UI. This method is a replacement for window.close().

Signature:

$badger.shutdown()

Parameters:

None.

Return Values:

None.

Usage Example:

$badger.shutdown();

Mandatory Integration:

Must be called any time a user has pressed the LAST key on their remote when the app is at the top of its view stack. Must be called anywhere the app would have normally called window.close().