Language

NsdManager.StartDiscoveryFailedEventArgs(String, NsdFailure) Constructor

Definition

Initializes event data for a failure to start service discovery.

public StartDiscoveryFailedEventArgs(string? serviceType, Android.Net.Nsd.NsdFailure errorCode);
new Android.Net.Nsd.NsdManager.StartDiscoveryFailedEventArgs : string * Android.Net.Nsd.NsdFailure -> Android.Net.Nsd.NsdManager.StartDiscoveryFailedEventArgs

Parameters

serviceType
String

The service type for which discovery could not start, or null.

errorCode
NsdFailure

The failure code reported for the attempt to start discovery.

Remarks

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