Share via


UploadDataSink.OnReadSucceeded(Boolean) Method

Definition

Called by UploadDataProvider when a read succeeds.

[Android.Runtime.Register("onReadSucceeded", "(Z)V", "GetOnReadSucceeded_ZHandler", ApiSince=34)]
public abstract void OnReadSucceeded (bool finalChunk);
[<Android.Runtime.Register("onReadSucceeded", "(Z)V", "GetOnReadSucceeded_ZHandler", ApiSince=34)>]
abstract member OnReadSucceeded : bool -> unit

Parameters

finalChunk
Boolean

For chunked uploads, true if this is the final read. It must be false for non-chunked uploads.

Attributes

Remarks

Called by UploadDataProvider when a read succeeds.

Java documentation for android.net.http.UploadDataSink.onReadSucceeded(boolean).

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