Compartilhar via


AssetFileDescriptor.UnknownLength Field

Definition

Length used with #AssetFileDescriptor(ParcelFileDescriptor, long, long) and #getDeclaredLength when a length has not been declared.

[Android.Runtime.Register("UNKNOWN_LENGTH")]
public const long UnknownLength = -1;
[<Android.Runtime.Register("UNKNOWN_LENGTH")>]
val mutable UnknownLength : int64

Field Value

Value = -1

Implements

Attributes

Remarks

Length used with #AssetFileDescriptor(ParcelFileDescriptor, long, long) and #getDeclaredLength when a length has not been declared. This means the data extends to the end of the file.

Java documentation for android.content.res.AssetFileDescriptor.UNKNOWN_LENGTH.

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.

Applies to