Mojo.Controller.AppController
From WebOS101
Introduction
The application controller is responsible for creating the application assistant and providing the interfaces for creating and managing stages. The following describes the class - the controller will get instantiated for you. You can get the instance of the controller with Mojo.Controller.getAppController().The controller object is typically accessed using this.controller.
Method Summary
- Mojo.Controller.AppController.closeAllStages()
- Mojo.Controller.AppController.closeStage(stageName)
- Mojo.Controller.AppController.createStageWithCallback(stageArguments, onCreate, optionalStageType)
- Mojo.Controller.AppController.getActiveStageController(stageType)
- Mojo.Controller.AppController.getScreenOrientation()
- Mojo.Controller.AppController.getStageController(stageName)
- Mojo.Controller.AppController.getStageProxy(stageName)
- Mojo.Controller.AppController.launch(appId, params, onSuccess, onFailure)
- Mojo.Controller.AppController.open(params, onSUccess, onFailure)
- Mojo.Controller.AppController.playSoundNotification(soundClass, soundFile, duration)
- Mojo.Controller.AppController.removeAllBanners()
- Mojo.Controller.AppController.removeBanner(category)
- Mojo.Controller.AppController.sendToNotificationChain(notificationData)
- Mojo.Controller.AppController.showBanner(bannerParams, launchArguments, category)