Skip to content

Most visited

Recently visited

navigation
Added in API level 19

ParcelFileDescriptor.OnCloseListener

public static interface ParcelFileDescriptor.OnCloseListener

android.os.ParcelFileDescriptor.OnCloseListener


Callback indicating that a ParcelFileDescriptor has been closed.

Summary

Public methods

abstract void onClose(IOException e)

Event indicating the ParcelFileDescriptor to which this listener was attached has been closed.

Public methods

onClose

Added in API level 19
void onClose (IOException e)

Event indicating the ParcelFileDescriptor to which this listener was attached has been closed.

Parameters
e IOException: error state, or null if closed cleanly. If the close event was the result of detachFd(), this will be a ParcelFileDescriptor.FileDescriptorDetachedException. After detach the remote side may continue reading/writing to the underlying FileDescriptor, but they can no longer deliver reliable close/error events.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.