AssetFileDescriptor.DeclaredLength Property
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.
Return the actual number of bytes that were declared when the AssetFileDescriptor was constructed.
public virtual long DeclaredLength { [Android.Runtime.Register("getDeclaredLength", "()J", "GetGetDeclaredLengthHandler")] get; }
[<get: Android.Runtime.Register("getDeclaredLength", "()J", "GetGetDeclaredLengthHandler")>]
member this.DeclaredLength : int64
Property Value
- Attributes
Remarks
Return the actual number of bytes that were declared when the AssetFileDescriptor was constructed. Will be #UNKNOWN_LENGTH
if the length was not declared, meaning data should be read to the end of the file.
Java documentation for android.content.res.AssetFileDescriptor.getDeclaredLength()
.
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.