|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeployGateCallback
A callback interface to receive DeployGate events. Implement this and pass to
DeployGate.registerCallback(DeployGateCallback, boolean)
to listen.
Method Summary | |
---|---|
void |
onInitialized(boolean isServiceAvailable)
Callback to tell the finish of DeployGate service initialization procedure. |
void |
onStatusChanged(boolean isManaged,
boolean isAuthorized,
java.lang.String loginUsername,
boolean isStopped)
Callback to tell the app status on the DeployGate has changed. |
void |
onUpdateAvailable(int revision,
java.lang.String versionName,
int versionCode)
Callback to tell the new version is available. |
Method Detail |
---|
void onInitialized(boolean isServiceAvailable)
isServiceAvailable
- true if DeployGate service is available on the
device.void onStatusChanged(boolean isManaged, boolean isAuthorized, java.lang.String loginUsername, boolean isStopped)
onInitialized(boolean)
,
DeployGate.refresh()
and
DeployGate.registerCallback(DeployGateCallback, boolean)
with
true in second argument.
isManaged
- true if the app is known on DeployGate appisAuthorized
- true if the app is on current user's installed listloginUsername
- Current login username, returned only when
isAuthorized is true.isStopped
- Reserved.void onUpdateAvailable(int revision, java.lang.String versionName, int versionCode)
revision
- revision of new versionversionName
- user-defined version name of new versionversionCode
- user-defined version code of new version
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |