共用方式為


NsdManager.IDiscoveryListener.OnStartDiscoveryFailed Method

Definition

[Android.Runtime.Register("onStartDiscoveryFailed", "(Ljava/lang/String;I)V", "GetOnStartDiscoveryFailed_Ljava_lang_String_IHandler:Android.Net.Nsd.NsdManager/IDiscoveryListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnStartDiscoveryFailed (string serviceType, Android.Net.Nsd.NsdFailure errorCode);
[<Android.Runtime.Register("onStartDiscoveryFailed", "(Ljava/lang/String;I)V", "GetOnStartDiscoveryFailed_Ljava_lang_String_IHandler:Android.Net.Nsd.NsdManager/IDiscoveryListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnStartDiscoveryFailed : string * Android.Net.Nsd.NsdFailure -> unit

Parameters

serviceType
String
errorCode
NsdFailure
Attributes

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