Sprache

DataPathConnectionFailureReason Enum

Definition

public enum DataPathConnectionFailureReason
type DataPathConnectionFailureReason = 
Inheritance
DataPathConnectionFailureReason

Fields

Name Value Description
NoResource 1

The reason for the data path connection failure, when device doesn't have enough data path resources or data interfaces.

Android reference for android.net.wifi.aware.AwareDataPathRequest.DATA_PATH_CONNECTION_FAILURE_REASON_NO_RESOURCE.

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.

PeerNotFound 2

The reason for the data path connection failure, when the peer is not found.

Android reference for android.net.wifi.aware.AwareDataPathRequest.DATA_PATH_CONNECTION_FAILURE_REASON_PEER_NOT_FOUND.

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.

RejectByPeer 3

The reason for the data path connection failure, when the peer rejects the data path connection request.

Android reference for android.net.wifi.aware.AwareDataPathRequest.DATA_PATH_CONNECTION_FAILURE_REASON_REJECT_BY_PEER.

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.

TimeOut 4

The reason for the data path connection failure, when the data path connection times out. Peer doesn't respond to the data path connection request within the timeout period.

Android reference for android.net.wifi.aware.AwareDataPathRequest.DATA_PATH_CONNECTION_FAILURE_REASON_TIME_OUT.

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.

InternalFailure 5

The reason for the data path connection failure, when the data path connection fails due to internal failure. This can be caused by the framework or the firmware issues.

Android reference for android.net.wifi.aware.AwareDataPathRequest.DATA_PATH_CONNECTION_FAILURE_REASON_INTERNAL_FAILURE.

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