Most visited

Recently visited

Added in API level 24

PixelCopy.OnPixelCopyFinishedListener

public static interface PixelCopy.OnPixelCopyFinishedListener

android.view.PixelCopy.OnPixelCopyFinishedListener


监听器用于观察PixelCopy请求的完成情况。

Summary

Public methods

abstract void onPixelCopyFinished(int copyResult)

回调像素复制请求何时完成。

Public methods

onPixelCopyFinished

Added in API level 24
void onPixelCopyFinished (int copyResult)

回调像素复制请求何时完成。 无论副本是成功还是失败,都会调用它。

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

Hooray!