Added in API level 19
    OnCloseListener
interface OnCloseListener
| android.os.ParcelFileDescriptor.OnCloseListener | 
Callback indicating that a ParcelFileDescriptor has been closed.
Summary
| Public methods | |
|---|---|
| abstract Unit | onClose(e: IOException!)Event indicating the ParcelFileDescriptor to which this listener was attached has been closed. | 
Public methods
onClose
Added in API level 19
      abstract fun onClose(e: IOException!): Unit
Event indicating the ParcelFileDescriptor to which this listener was attached has been closed.
| Parameters | |
|---|---|
| e | IOException!: error state, or nullif closed cleanly. If the close event was the result ofParcelFileDescriptor.detachFd(), this will be aFileDescriptorDetachedException. After detach the remote side may continue reading/writing to the underlyingFileDescriptor, but they can no longer deliver reliable close/error events. | 
