-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathIBatchResultCallback.xml
More file actions
148 lines (148 loc) Β· 10.7 KB
/
IBatchResultCallback.xml
File metadata and controls
148 lines (148 loc) Β· 10.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<Type Name="IBatchResultCallback" FullName="Android.App.AppSearch.IBatchResultCallback">
<TypeSignature Language="C#" Value="public interface IBatchResultCallback : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IBatchResultCallback implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Android.App.AppSearch.IBatchResultCallback" />
<TypeSignature Language="F#" Value="type IBatchResultCallback = interface
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/app/appsearch/BatchResultCallback", "", "Android.App.AppSearch.IBatchResultCallbackInvoker", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/app/appsearch/BatchResultCallback", "", "Android.App.AppSearch.IBatchResultCallbackInvoker", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[Java.Interop.JavaTypeParameters(new System.String[] { "KeyType", "ValueType" })]</AttributeName>
<AttributeName Language="F#">[<Java.Interop.JavaTypeParameters(new System.String[] { "KeyType", "ValueType" })>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<param name="<KeyType><KeyType>">The type of the keys for <c>AppSearchBatchResult#getSuccesses</c> and <c>AppSearchBatchResult#getFailures</c>.</param>
<param name="<ValueType><ValueType>">The type of result objects associated with the keys.</param>
<summary>The callback interface to return <c>AppSearchBatchResult</c>.</summary>
<remarks>
<para>The callback interface to return <c>AppSearchBatchResult</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/appsearch/BatchResultCallback" title="Reference documentation">Java documentation for <code>android.app.appsearch.BatchResultCallback</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
<Members>
<Member MemberName="OnResult">
<MemberSignature Language="C#" Value="public void OnResult (Android.App.AppSearch.AppSearchBatchResult result);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnResult(class Android.App.AppSearch.AppSearchBatchResult result) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.AppSearch.IBatchResultCallback.OnResult(Android.App.AppSearch.AppSearchBatchResult)" />
<MemberSignature Language="F#" Value="abstract member OnResult : Android.App.AppSearch.AppSearchBatchResult -> unit" Usage="iBatchResultCallback.OnResult result" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onResult", "(Landroid/app/appsearch/AppSearchBatchResult;)V", "GetOnResult_Landroid_app_appsearch_AppSearchBatchResult_Handler:Android.App.AppSearch.IBatchResultCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onResult", "(Landroid/app/appsearch/AppSearchBatchResult;)V", "GetOnResult_Landroid_app_appsearch_AppSearchBatchResult_Handler:Android.App.AppSearch.IBatchResultCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="result" Type="Android.App.AppSearch.AppSearchBatchResult" />
</Parameters>
<Docs>
<param name="result">The result of the executed request.</param>
<summary>Called when <c>AppSearchBatchResult</c> results are ready.</summary>
<remarks>
<para>Called when <c>AppSearchBatchResult</c> results are ready.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/appsearch/BatchResultCallback#onResult(android.app.appsearch.AppSearchBatchResult%3CKeyType,%20ValueType%3E)" title="Reference documentation">Java documentation for <code>android.app.appsearch.BatchResultCallback.onResult(android.app.appsearch.AppSearchBatchResult<KeyType, ValueType>)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="OnSystemError">
<MemberSignature Language="C#" Value="public virtual void OnSystemError (Java.Lang.Throwable? throwable);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void OnSystemError(class Java.Lang.Throwable throwable) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.App.AppSearch.IBatchResultCallback.OnSystemError(Java.Lang.Throwable)" />
<MemberSignature Language="F#" Value="abstract member OnSystemError : Java.Lang.Throwable -> unit
override this.OnSystemError : Java.Lang.Throwable -> unit" Usage="iBatchResultCallback.OnSystemError throwable" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("onSystemError", "(Ljava/lang/Throwable;)V", "GetOnSystemError_Ljava_lang_Throwable_Handler:Android.App.AppSearch.IBatchResultCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("onSystemError", "(Ljava/lang/Throwable;)V", "GetOnSystemError_Ljava_lang_Throwable_Handler:Android.App.AppSearch.IBatchResultCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android31.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android31.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="throwable" Type="Java.Lang.Throwable" />
</Parameters>
<Docs>
<param name="throwable">an exception describing the system error</param>
<summary>Called when a system error occurs.</summary>
<remarks>
<para>Called when a system error occurs.</para>
<para>This method is only called the infrastructure is fundamentally broken or unavailable, such
that none of the requests could be started. For example, it will be called if the AppSearch
service unexpectedly fails to initialize and can't be recovered by any means, or if
communicating to the server over Binder fails (for example system service crashed or device
is rebooting).</para>
<para>The error is not expected to be recoverable and there is no specific recommended action
other than displaying a permanent message to the user.</para>
<para>Normal errors that are caused by invalid inputs or recoverable/retriable situations are
reported associated with the input that caused them via the <c>#onResult</c> method.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/app/appsearch/BatchResultCallback#onSystemError(java.lang.Throwable)" title="Reference documentation">Java documentation for <code>android.app.appsearch.BatchResultCallback.onSystemError(java.lang.Throwable)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
</Members>
</Type>