Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static interface

ParcelFileDescriptor.OnCloseListener

android.os.ParcelFileDescriptor.OnCloseListener

Class Overview

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

public abstract void onClose ( IOException e)

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

Parameters
e 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.