Język

Version Enum

Definition

Identifies a P2P protocol version.

public enum Version
type Version = 
Inheritance
Version

Fields

Name Value Description
Version1 0

P2P Protocol version 1

Android reference for android.net.wifi.p2p.WifiP2pConfig.P2P_VERSION_1.

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.

Version2 1

P2P Protocol version 2

Android reference for android.net.wifi.p2p.WifiP2pConfig.P2P_VERSION_2.

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.

Remarks

The values correspond to the Android P2P_VERSION_* constants of WifiP2pConfig.

Applies to