Language

L2capNetworkSpecifierHeaderCompression Enum

Definition

Defines values used by the Android L2capNetworkSpecifierHeaderCompression API.

public enum L2capNetworkSpecifierHeaderCompression
type L2capNetworkSpecifierHeaderCompression = 
Inheritance
L2capNetworkSpecifierHeaderCompression

Fields

Name Value Description
Any 0

Accept any form of header compression. This option is only meaningful in NetworkRequests. Specifiers for actual L2CAP networks never have this option set.

Android reference for android.net.L2capNetworkSpecifier.HEADER_COMPRESSION_ANY.

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.

None 1

Do not compress packets on this network.

Android reference for android.net.L2capNetworkSpecifier.HEADER_COMPRESSION_NONE.

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.

Sixlowpan 2

Use 6lowpan header compression as specified in rfc6282.

Android reference for android.net.L2capNetworkSpecifier.HEADER_COMPRESSION_6LOWPAN.

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