An Intent is a fundamental building block of module development. Modules will either be started with an intent or will receive an intent after they have been launched. It is up to the module author to decide how to respond to the intents that they receive. ...
The Module class provides a mechanism for module authors to interact with the underlying framework. The main responsibilities of the Module class are to implement the intent handler interface and the lifecycle interface.
Exceptions / Errors
An Exception indicating that the Module is in an invalid state. This exception should only be thrown when the module is in a state which is cannot recover from and will need to crash.