Language

L2capNetworkSpecifierRole Enum

Definition

Defines values used by the Android L2capNetworkSpecifierRole API.

public enum L2capNetworkSpecifierRole
type L2capNetworkSpecifierRole = 
Inheritance
L2capNetworkSpecifierRole

Fields

Name Value Description
Any 0

Match any role. This role is only meaningful in NetworkRequests. Specifiers for actual L2CAP networks never have this role set.

Android reference for android.net.L2capNetworkSpecifier.ROLE_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.

Client 1

Specifier describes a client network, i.e., the device is the Bluetooth central.

Android reference for android.net.L2capNetworkSpecifier.ROLE_CLIENT.

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.

Server 2

Specifier describes a server network, i.e., the device is the Bluetooth peripheral.

Android reference for android.net.L2capNetworkSpecifier.ROLE_SERVER.

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