DnsResolver.ICallback.OnAnswer(Object, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Success response to
android.net.DnsResolver#query query()
or
android.net.DnsResolver#rawQuery rawQuery()
.
[Android.Runtime.Register("onAnswer", "(Ljava/lang/Object;I)V", "GetOnAnswer_Ljava_lang_Object_IHandler:Android.Net.DnsResolver/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public void OnAnswer (Java.Lang.Object answer, int rcode);
[<Android.Runtime.Register("onAnswer", "(Ljava/lang/Object;I)V", "GetOnAnswer_Ljava_lang_Object_IHandler:Android.Net.DnsResolver/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
abstract member OnAnswer : Java.Lang.Object * int -> unit
Parameters
- answer
- Object
<T> answer to the query.
- rcode
- Int32
The response code in the DNS response.
- Attributes
Remarks
Success response to android.net.DnsResolver#query query()
or android.net.DnsResolver#rawQuery rawQuery()
.
Invoked when the answer to a query was successfully parsed.
Java documentation for android.net.DnsResolver.Callback.onAnswer(T, int)
.
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.