| Modifier and Type | Field and Description |
|---|---|
static int |
LOADED
The application is in the loaded state.
|
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Requests the application manager calls the
initXlet method on
the application. |
void |
init(String[] args)
Requests the application manager calls the
initXlet method on
the application passing to that application the specified parameters. |
void |
load()
Provides a hint to preload at least the initial class of the application
into local storage, resources permitting.
|
addAppStateChangeEventListener, getState, pause, removeAppStateChangeEventListener, resume, start, start, stopstatic final int LOADED
void load()
init method.
This method is asynchronous and its completion will be notified by
an AppStateChangeEvent. In case of failure, the hasFailed
method of the AppStateChangeEvent will return true.
Calls to this method shall only succeed if the application is in the
NOT_LOADED state.
In all cases, an AppStateChangeEvent will be sent, whether
the call was successful or not.
SecurityException - if the application is not entitled to load
this application. Being able to load an application requires
to be entitled to start it.void init()
initXlet method on
the application.
This method is asynchronous and its completion will be notified by
an AppStateChangeEvent. In case of failure, the hasFailed method of
the AppStateChangeEvent will return true.
Calls to this method shall only succeed if the application is in the
NOT_LOADED or LOADED states. If the application is in the NOT_LOADED
state, the application will move through the LOADED state into the PAUSED
state before calls to this method complete.
In all cases, an AppStateChangeEvent will be sent, whether the call was successful or not.
SecurityException - if the application is not entitled to load
this application. Being able to init an application requires
to be entitled to start it.void init(String[] args)
initXlet method on
the application passing to that application the specified parameters.
This method is asynchronous and its completion will be notified by
an AppStateChangeEvent. In case of failure, the hasFailed method of
the AppStateChangeEvent will return true.
Calls to this method shall only succeed if the application is in the
NOT_LOADED or LOADED states. If the application is in the NOT_LOADED
state, the application will move through the LOADED state into the PAUSED
state before calls to this method complete.
In all cases, an AppStateChangeEvent will be sent, whether the call was successful or not.
args - the parameters to be passed into the application being startedSecurityException - if the application is not entitled to load
this application. Being able to init an application requires
to be entitled to start it.Copyright © 2012 code4tv.com. All Rights Reserved.