Language

ServiceProtocolType Enum

Definition

Specifies the named service protocols for Wi-Fi Direct Unsynchronized Service Discovery (USD).

public enum ServiceProtocolType
type ServiceProtocolType = 
Inheritance
ServiceProtocolType

Fields

Name Value Description
Bonjour 1

Bonjour service protocol type

Android reference for android.net.wifi.p2p.nsd.WifiP2pUsdBasedServiceConfig.SERVICE_PROTOCOL_TYPE_BONJOUR.

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.

Generic 2

Generic service protocol type

Android reference for android.net.wifi.p2p.nsd.WifiP2pUsdBasedServiceConfig.SERVICE_PROTOCOL_TYPE_GENERIC.

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

These values map to ServiceProtocolTypeBonjour and ServiceProtocolTypeGeneric. They can overlap numerically with the service discovery protocol values in ServiceType.

Applies to