AssetFileDescriptor.UnknownLength Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 = -1Implements
- 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.