Share via


CacheResponse.Body Property

Definition

Returns an InputStream to access the response body.

public abstract System.IO.Stream? Body { [Android.Runtime.Register("getBody", "()Ljava/io/InputStream;", "GetGetBodyHandler")] get; }
[<get: Android.Runtime.Register("getBody", "()Ljava/io/InputStream;", "GetGetBodyHandler")>]
member this.Body : System.IO.Stream

Property Value

Attributes

Exceptions

if an I/O error is encountered while retrieving the response body.

Remarks

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