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 bePixelCopy.SUCCESSor one of thePixelCopy.ERROR_*values.
 Value isPixelCopy.SUCCESS,PixelCopy.ERROR_UNKNOWN,PixelCopy.ERROR_TIMEOUT,PixelCopy.ERROR_SOURCE_NO_DATA,PixelCopy.ERROR_SOURCE_INVALID, orPixelCopy.ERROR_DESTINATION_INVALID | 
