UploadDataProvider.Length 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.
If this is a non-chunked upload, returns the length of the upload.
public abstract long Length { [Android.Runtime.Register("getLength", "()J", "GetGetLengthHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getLength", "()J", "GetGetLengthHandler", ApiSince=34)>]
member this.Length : int64
Property Value
the length of the upload for non-chunked uploads, -1 otherwise.
- Attributes
Remarks
If this is a non-chunked upload, returns the length of the upload. Must always return -1 if this is a chunked upload.
Android reference for android.net.http.UploadDataProvider.getLength.
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.