-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new callback interface to receive the Capture creation event #96
Conversation
initializeCallback = new DeployGateInitializeCallback() { | ||
@Override | ||
public void onInitialized(boolean isServiceAvailable) { | ||
// no-op | ||
} | ||
}; | ||
statusChangeCallback = new DeployGateStatusChangeCallback() { | ||
@Override | ||
public void onStatusChanged(boolean isManaged, boolean isAuthorized, String loginUsername, boolean isStopped) { | ||
// no-op | ||
} | ||
}; | ||
updateAvailableCallback = new DeployGateUpdateAvailableCallback() { | ||
@Override | ||
public void onUpdateAvailable(int revision, String versionName, int versionCode) { | ||
// no-op | ||
} | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot to initialize these variables, so I fixed them.
Ref. #95
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the CI status.
@jmatsu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you! |
We provide the callback interface to notify of finished create the Capture.
You can trigger any process when the Capture is successfully created.
e.g. logging application states, saving snapshot data, etc...