Create a Callback when saving a Capture
You can create a Callback when saving a Capture to easily integrate with internal development tools, such as Jira. The development process runs more smoothly by sending the Capture to the tool automatically.
How to set up a Callback
You can incorporate the following into the code to implement a Callback with your desired processes when saving a Capture.
@Override
public void onCaptureCreated(String captureUrl, long createdAtMillis) {
// will be called when the capture is created
String message = "onCaptureCreated: url=" + captureUrl + ", created_at=" + createdAtMillis;
Log.d(TAG, message);
Toast.makeText(this, "onCaptureCreated called", Toast.LENGTH_LONG).show();
}
Please view the sample code for more details.
The Callback function requires DeployGate SDK (version 4.9.0 or later) and the DeployGate Android Client App (version 1.18.0 or later).