Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 24

PixelCopy.OnPixelCopyFinishedListener

public static interface PixelCopy.OnPixelCopyFinishedListener

android.view.PixelCopy.OnPixelCopyFinishedListener


Listener for observing the completion of a PixelCopy request.

Summary

Public methods

abstract void onPixelCopyFinished(int copyResult)

Callback for when a pixel copy request has completed.

Public methods

onPixelCopyFinished

added in API level 24
public abstract void onPixelCopyFinished (int copyResult)

Callback for when a pixel copy request has completed. This will be called regardless of whether the copy succeeded or failed.

Parameters
copyResult int: Contains the resulting status of the copy request. This will either be PixelCopy.SUCCESS or one of the PixelCopy.ERROR_* values.