public interface ApplicationStorageListener
| Modifier and Type | Method and Description |
|---|---|
void |
storageCompleted(AppID id)
Called when a storage operation is successfully completed.
|
void |
storageFailed(AppID id,
Exception failureMode)
Called if a storage operation fails.
|
void |
storageUpdate(AppID id,
byte completion,
int size)
Called at 1 second intervals after a storage operation starts
until it completes.
|
void storageUpdate(AppID id, byte completion, int size)
id - the application being storedsize - the size in bytes of the application to be stored,
as calculated by adding the size attributes in the application
description file of the applicationcompletion - the extent to which the storage operation is
complete, 0 being not complete and 255 being almost complete.void storageFailed(AppID id, Exception failureMode)
id - the application whose storage failedfailureMode - the reason for the failure as would be reported
by one of the checked exceptions thrown by the method
StoredApplicationService.store.void storageCompleted(AppID id)
id - the application which is now successfully storedCopyright © 2012 code4tv.com. All Rights Reserved.