Language

WfdInfoDeviceType Enum

Definition

Identifies the Wi-Fi Display (WFD) device type.

public enum WfdInfoDeviceType
type WfdInfoDeviceType = 
Inheritance
WfdInfoDeviceType

Fields

Name Value Description
WfdSource 0

The device is a Wifi Display Source.

Android reference for android.net.wifi.p2p.WifiP2pWfdInfo.DEVICE_TYPE_WFD_SOURCE.

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.

PrimarySink 1

The device is a primary sink.

Android reference for android.net.wifi.p2p.WifiP2pWfdInfo.DEVICE_TYPE_PRIMARY_SINK.

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.

SecondarySink 2

The device is a secondary sink. This type is only supported by R1.

Android reference for android.net.wifi.p2p.WifiP2pWfdInfo.DEVICE_TYPE_SECONDARY_SINK.

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.

SourceOrPrimarySink 3

The device is dual-role capable i.e. either a WFD source or a primary sink.

Android reference for android.net.wifi.p2p.WifiP2pWfdInfo.DEVICE_TYPE_SOURCE_OR_PRIMARY_SINK.

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 DEVICE_TYPE_* constants of WifiP2pWfdInfo.

Applies to