| Motorola Mobility Confidential Restricted. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
ToiFrontendDownloader Interface Reference Description
Member Typedef Documentation
Enumeration of the different search result types.
Download types.
Download version. Member Function Documentation
Used to get the search result once the application recieve ToiOperationOperationResultEvent and the result parameter is equal to ToiFrontendDownloader::OP_RESULT_DOWNLOAD_INFO.
Install the downloaded software or splash. When the application receives a ToiOperationOperationResultEvent call with the operation result ToiOperationManager::OP_RESULT_NONE, then the application can get the install progress from ToiOperationManagerOperationInfo. The install operation can not be cancelled once it has been started. Calling ToiOperationManager::cancelOperation() or ToiOperationManager::releaseOperation() will do nothing.
This function releases the resources used by this instance and removes all registered observers. Upon return this object will no longer be available and must not be called.
Downloads an update of the specified software. The software will not be used until the set-top box has been rebooted, e.g. by calling any of the reboot functions in ToiPlatformService. When the application receives a ToiOperationOperationResultEvent call with the operation result ToiOperationManager::OP_RESULT_NONE, then the application can get the download progress from ToiOperationManagerOperationInfo. Calling ToiOperationManager::cancelOperation() will immediatly stop an ongoing download operation. Calling ToiOperationManager::releaseOperation() will remove the operation identified by operationId. If a download is in progress, calling this method will immediatly stop it.
Start a search for upgrades of a certain software type. This is an asynchronous operation. When the application receives a ToiOperationOperationResultEvent call with the operation result ToiOperationManager::OP_RESULT_NONE, then the application can get the search progess, its state and more from ToiOperationManagerOperationInfo. When the application receives a ToiOperationOperationResultEvent call with the operation result ToiFrontendDownloader::OP_RESULT_DOWNLOAD_INFO, then the application can get the download information by calling ToiFrontendDownloader::getDownloadInfoResult(). Calling ToiOperationManager::cancelOperation() will immediatly stop an ongoing search operation. Calling ToiOperationManager::releaseOperation() will remove the operation identified by operationId. If the search is in progress, calling this method will immediatly stop it.
Member Data DocumentationA new download was available. This constant can also be accessed from toi.consts.ToiFrontendDownloader.DOWNLOAD_AVAILABLE. No new download was available. This constant can also be accessed from toi.consts.ToiFrontendDownloader.DOWNLOAD_NOT_AVAILABLE. Software release. This constant can also be accessed from toi.consts.ToiFrontendDownloader.DOWNLOAD_TYPE_SOFTWARE. Splash release. This constant can also be accessed from toi.consts.ToiFrontendDownloader.DOWNLOAD_TYPE_SPLASH. The asynchronous operation has found new download info. This constant can also be accessed from toi.consts.ToiFrontendDownloader.OP_RESULT_DOWNLOAD_INFO. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||