ICloseable ICloseable Interface

Definition

An AutoCloseable whose close method may throw an IOException.

[Android.Runtime.Register("java/io/Closeable", "", "Java.IO.ICloseableInvoker", ApiSince=1)]
public interface ICloseable : Android.Runtime.IJavaObject, IDisposable
type ICloseable = interface
    interface IJavaObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Methods

Close() Close()

Closes the object and release any system resources it holds.

Properties

Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Applies to