Język

ExternalApproverRequestType Enum

Definition

Identifies the type of a request to an external approver: negotiation, invitation, or join.

public enum ExternalApproverRequestType
type ExternalApproverRequestType = 
Inheritance
ExternalApproverRequestType

Fields

Name Value Description
Negotiation 0

This device received a negotiation request from another peer. Used in onConnectionRequested(int,WifiP2pConfig,WifiP2pDevice).

Android reference for android.net.wifi.p2p.WifiP2pManager.ExternalApproverRequestListener.REQUEST_TYPE_NEGOTIATION.

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.

Invitation 1

This device received an invitation request from GO to join the group. Used in onConnectionRequested(int,WifiP2pConfig,WifiP2pDevice).

Android reference for android.net.wifi.p2p.WifiP2pManager.ExternalApproverRequestListener.REQUEST_TYPE_INVITATION.

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.

Join 2

This GO device received a request from a peer to join the group. Used in onConnectionRequested(int,WifiP2pConfig,WifiP2pDevice).

Android reference for android.net.wifi.p2p.WifiP2pManager.ExternalApproverRequestListener.REQUEST_TYPE_JOIN.

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 REQUEST_TYPE_* constants of WifiP2pManager.IExternalApproverRequestListener.

Applies to