Android.Content.Res.AssetFileDescriptor Members

The members of Android.Content.Res.AssetFileDescriptor are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Create a new AssetFileDescriptor from the given values.
Create a new AssetFileDescriptor from the given values.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

Public Properties

[read-only]
static
CreatorAndroid.OS.IParcelableCreator.
[read-only]
DeclaredLengthlong. Return the actual number of bytes that were declared when the AssetFileDescriptor was constructed.
[read-only]
ExtrasAndroid.OS.Bundle. Returns any additional details that can be used to interpret the underlying file descriptor.
[read-only]
FileDescriptorJava.IO.FileDescriptor. Returns the FileDescriptor that can be used to read the data in the file.
[read-only]
Lengthlong. Returns the total number of bytes of this asset entry's data.
[read-only]
ParcelFileDescriptorAndroid.OS.ParcelFileDescriptor. The AssetFileDescriptor contains its own ParcelFileDescriptor, which in addition to the normal FileDescriptor object also allows you to close the descriptor when you are done with it.
[read-only]
StartOffsetlong. Returns the byte offset where this asset entry's data starts.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Close()
Convenience for calling getParcelFileDescriptor().close().
CreateInputStream() : System.IO.Stream
Create and return a new auto-close input stream for this asset.
CreateOutputStream() : System.IO.Stream
Create and return a new auto-close output stream for this asset.
DescribeContents() : int
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
WriteToParcel(Android.OS.Parcel, Android.OS.ParcelableWriteFlags)
Flatten this object in to a Parcel.