lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
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.