AndroidHttpClient.GetCompressedEntity(Byte[], ContentResolver) Method

Definition

Compress data to send to server.

[Android.Runtime.Register("getCompressedEntity", "([BLandroid/content/ContentResolver;)Lorg/apache/http/entity/AbstractHttpEntity;", "")]
public static Org.Apache.Http.Entity.AbstractHttpEntity? GetCompressedEntity (byte[]? data, Android.Content.ContentResolver? resolver);
[<Android.Runtime.Register("getCompressedEntity", "([BLandroid/content/ContentResolver;)Lorg/apache/http/entity/AbstractHttpEntity;", "")>]
static member GetCompressedEntity : byte[] * Android.Content.ContentResolver -> Org.Apache.Http.Entity.AbstractHttpEntity

Parameters

data
Byte[]

The bytes to compress

resolver
ContentResolver

Returns

Attributes

Exceptions

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