ISeekableByteChannel ISeekableByteChannel Interface

Definition

[Android.Runtime.Register("java/nio/channels/SeekableByteChannel", "", "Java.Nio.Channels.ISeekableByteChannelInvoker", ApiSince=24)]
public interface ISeekableByteChannel : IDisposable, Java.Nio.Channels.IByteChannel
type ISeekableByteChannel = interface
    interface IByteChannel
    interface IReadableByteChannel
    interface IChannel
    interface ICloseable
    interface IJavaObject
    interface IDisposable
    interface IWritableByteChannel
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 an open channel.

(Inherited from IChannel)
Position() Position()
Position(Int64) Position(Int64)
Read(ByteBuffer) Read(ByteBuffer)
Size() Size()
Truncate(Int64) Truncate(Int64)
Write(ByteBuffer) Write(ByteBuffer)

Properties

Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
IsOpen IsOpen

Returns true if this channel is open.

(Inherited from IChannel)

Extension Methods

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

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
ReadAsync(IReadableByteChannel, ByteBuffer) ReadAsync(IReadableByteChannel, ByteBuffer)
WriteAsync(IWritableByteChannel, ByteBuffer) WriteAsync(IWritableByteChannel, ByteBuffer)

Applies to