Most visited

Recently visited

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
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 SUCCESS or one of the PixelCopy.ERROR_* values.

Hooray!