/
SearchRecentSuggestions.xml
448 lines (447 loc) · 31.4 KB
/
SearchRecentSuggestions.xml
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
<Type Name="SearchRecentSuggestions" FullName="Android.Provider.SearchRecentSuggestions">
<TypeSignature Language="C#" Value="public class SearchRecentSuggestions : Java.Lang.Object" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit SearchRecentSuggestions extends Java.Lang.Object" />
<TypeSignature Language="DocId" Value="T:Android.Provider.SearchRecentSuggestions" />
<TypeSignature Language="F#" Value="type SearchRecentSuggestions = class
 inherit Object" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Lang.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("android/provider/SearchRecentSuggestions", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("android/provider/SearchRecentSuggestions", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>This is a utility class providing access to
<c>android.content.SearchRecentSuggestionsProvider</c>.</summary>
<remarks>
<para>This is a utility class providing access to
<c>android.content.SearchRecentSuggestionsProvider</c>.</para>
<para>Unlike some utility classes, this one must be instantiated and properly initialized, so that
it can be configured to operate with the search suggestions provider that you have created.</para>
<para>Typically, you will do this in your searchable activity, each time you receive an incoming
<c>android.content.Intent#ACTION_SEARCH ACTION_SEARCH</c> Intent. The code to record each
incoming query is as follows:</para>
<code lang="text/java">SearchSuggestions suggestions = new SearchSuggestions(this,
MySuggestionsProvider.AUTHORITY, MySuggestionsProvider.MODE);
suggestions.saveRecentQuery(queryString, null);
</code>
<para>For a working example, see SearchSuggestionSampleProvider and SearchQueryResults in
samples/ApiDemos/app.
<div class="special reference">
<h3>Developer Guides</h3></para>
<para>For information about using search suggestions in your application, read the
<see href="https://developer.android.com/guide/topics/search/adding-recent-query-suggestions.html">Adding Recent Query
Suggestions</see> developer guide.</para>
<para></div></para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/provider/SearchRecentSuggestions" title="Reference documentation">Java documentation for <code>android.provider.SearchRecentSuggestions</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>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected SearchRecentSuggestions (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(native int javaReference, valuetype Android.Runtime.JniHandleOwnership transfer) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Provider.SearchRecentSuggestions.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Android.Provider.SearchRecentSuggestions : nativeint * Android.Runtime.JniHandleOwnership -> Android.Provider.SearchRecentSuggestions" Usage="new Android.Provider.SearchRecentSuggestions (javaReference, transfer)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="javaReference" Type="System.IntPtr" />
<Parameter Name="transfer" Type="Android.Runtime.JniHandleOwnership" />
</Parameters>
<Docs>
<param name="javaReference">A <see cref="T:System.IntPtr" />containing a Java Native Interface (JNI) object reference.</param>
<param name="transfer">A <see cref="T:Android.Runtime.JniHandleOwnership" />indicating how to handle <paramref name="javaReference" /></param>
<summary>A constructor used when creating managed representations of JNI objects; called by the runtime.</summary>
<remarks>
<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=".ctor">
<MemberSignature Language="C#" Value="public SearchRecentSuggestions (Android.Content.Context? context, string? authority, Android.Content.DatabaseMode mode);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Android.Content.Context context, string authority, valuetype Android.Content.DatabaseMode mode) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Provider.SearchRecentSuggestions.#ctor(Android.Content.Context,System.String,Android.Content.DatabaseMode)" />
<MemberSignature Language="F#" Value="new Android.Provider.SearchRecentSuggestions : Android.Content.Context * string * Android.Content.DatabaseMode -> Android.Provider.SearchRecentSuggestions" Usage="new Android.Provider.SearchRecentSuggestions (context, authority, mode)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/lang/String;I)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/lang/String;I)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="context" Type="Android.Content.Context" />
<Parameter Name="authority" Type="System.String" />
<Parameter Name="mode" Type="Android.Content.DatabaseMode">
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.GeneratedEnum]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.GeneratedEnum>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="context">To be added.</param>
<param name="authority">This must match the authority that you've declared in your manifest.</param>
<param name="mode">You can use mode flags here to determine certain functional aspects of your
database. Note, this value should not change from run to run, because when it does change,
your suggestions database may be wiped.</param>
<summary>Although provider utility classes are typically static, this one must be constructed
because it needs to be initialized using the same values that you provided in your
<c>android.content.SearchRecentSuggestionsProvider</c>.</summary>
<remarks>
<para>Although provider utility classes are typically static, this one must be constructed
because it needs to be initialized using the same values that you provided in your
<c>android.content.SearchRecentSuggestionsProvider</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/provider/SearchRecentSuggestions#SearchRecentSuggestions(android.content.Context,%20java.lang.String,%20int)" title="Reference documentation">Java documentation for <code>android.provider.SearchRecentSuggestions.SearchRecentSuggestions(android.content.Context, java.lang.String, int)</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>
<since version="Added in API level 1" />
<altmember cref="T:Android.Content.SearchRecentSuggestionsProvider" />
<altmember cref="M:Android.Content.SearchRecentSuggestionsProvider.SetupSuggestions(System.String, Android.Content.DatabaseMode)" />
</Docs>
</Member>
<Member MemberName="ClearHistory">
<MemberSignature Language="C#" Value="public virtual void ClearHistory ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void ClearHistory() cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Provider.SearchRecentSuggestions.ClearHistory" />
<MemberSignature Language="F#" Value="abstract member ClearHistory : unit -> unit
override this.ClearHistory : unit -> unit" Usage="searchRecentSuggestions.ClearHistory " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("clearHistory", "()V", "GetClearHistoryHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("clearHistory", "()V", "GetClearHistoryHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Completely delete the history.</summary>
<remarks>
<para>Completely delete the history. Use this call to implement a "clear history" UI.</para>
<para>Any application that implements search suggestions based on previous actions (such as
recent queries, page/items viewed, etc.) should provide a way for the user to clear the
history. This gives the user a measure of privacy, if they do not wish for their recent
searches to be replayed by other users of the device (via suggestions).</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/provider/SearchRecentSuggestions#clearHistory()" title="Reference documentation">Java documentation for <code>android.provider.SearchRecentSuggestions.clearHistory()</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>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="JniPeerMembers">
<MemberSignature Language="C#" Value="public override Java.Interop.JniPeerMembers JniPeerMembers { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Interop.JniPeerMembers JniPeerMembers" />
<MemberSignature Language="DocId" Value="P:Android.Provider.SearchRecentSuggestions.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Android.Provider.SearchRecentSuggestions.JniPeerMembers" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Interop.JniPeerMembers</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>
<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="QueriesProjection1line">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IList<string>? QueriesProjection1line { get; }" />
<MemberSignature Language="ILAsm" Value=".property class System.Collections.Generic.IList`1<string> QueriesProjection1line" />
<MemberSignature Language="DocId" Value="P:Android.Provider.SearchRecentSuggestions.QueriesProjection1line" />
<MemberSignature Language="F#" Value="static member QueriesProjection1line : System.Collections.Generic.IList<string>" Usage="Android.Provider.SearchRecentSuggestions.QueriesProjection1line" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("QUERIES_PROJECTION_1LINE")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("QUERIES_PROJECTION_1LINE")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.Generic.IList<System.String></ReturnType>
</ReturnValue>
<Docs>
<summary>This is the database projection that can be used to view saved queries, when
configured for one-line operation.</summary>
<value>To be added.</value>
<remarks>
<para>This is the database projection that can be used to view saved queries, when
configured for one-line operation.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/provider/SearchRecentSuggestions#QUERIES_PROJECTION_1LINE" title="Reference documentation">Java documentation for <code>android.provider.SearchRecentSuggestions.QUERIES_PROJECTION_1LINE</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>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="QueriesProjection2line">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IList<string>? QueriesProjection2line { get; }" />
<MemberSignature Language="ILAsm" Value=".property class System.Collections.Generic.IList`1<string> QueriesProjection2line" />
<MemberSignature Language="DocId" Value="P:Android.Provider.SearchRecentSuggestions.QueriesProjection2line" />
<MemberSignature Language="F#" Value="static member QueriesProjection2line : System.Collections.Generic.IList<string>" Usage="Android.Provider.SearchRecentSuggestions.QueriesProjection2line" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("QUERIES_PROJECTION_2LINE")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("QUERIES_PROJECTION_2LINE")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.Generic.IList<System.String></ReturnType>
</ReturnValue>
<Docs>
<summary>This is the database projection that can be used to view saved queries, when
configured for two-line operation.</summary>
<value>To be added.</value>
<remarks>
<para>This is the database projection that can be used to view saved queries, when
configured for two-line operation.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/provider/SearchRecentSuggestions#QUERIES_PROJECTION_2LINE" title="Reference documentation">Java documentation for <code>android.provider.SearchRecentSuggestions.QUERIES_PROJECTION_2LINE</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>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="SaveRecentQuery">
<MemberSignature Language="C#" Value="public virtual void SaveRecentQuery (string? queryString, string? line2);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SaveRecentQuery(string queryString, string line2) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Provider.SearchRecentSuggestions.SaveRecentQuery(System.String,System.String)" />
<MemberSignature Language="F#" Value="abstract member SaveRecentQuery : string * string -> unit
override this.SaveRecentQuery : string * string -> unit" Usage="searchRecentSuggestions.SaveRecentQuery (queryString, line2)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("saveRecentQuery", "(Ljava/lang/String;Ljava/lang/String;)V", "GetSaveRecentQuery_Ljava_lang_String_Ljava_lang_String_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("saveRecentQuery", "(Ljava/lang/String;Ljava/lang/String;)V", "GetSaveRecentQuery_Ljava_lang_String_Ljava_lang_String_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="queryString" Type="System.String" />
<Parameter Name="line2" Type="System.String" />
</Parameters>
<Docs>
<param name="queryString">The string as typed by the user. This string will be displayed as
the suggestion, and if the user clicks on the suggestion, this string will be sent to your
searchable activity (as a new search query).</param>
<param name="line2">If you have configured your recent suggestions provider with
<c>android.content.SearchRecentSuggestionsProvider#DATABASE_MODE_2LINES</c>, you can
pass a second line of text here. It will be shown in a smaller font, below the primary
suggestion. When typing, matches in either line of text will be displayed in the list.
If you did not configure two-line mode, or if a given suggestion does not have any
additional text to display, you can pass null here.</param>
<summary>Add a query to the recent queries list.</summary>
<remarks>
<para>Add a query to the recent queries list. Returns immediately, performing the save
in the background.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/provider/SearchRecentSuggestions#saveRecentQuery(java.lang.String,%20java.lang.String)" title="Reference documentation">Java documentation for <code>android.provider.SearchRecentSuggestions.saveRecentQuery(java.lang.String, java.lang.String)</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>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="ThresholdClass">
<MemberSignature Language="C#" Value="protected override IntPtr ThresholdClass { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ThresholdClass" />
<MemberSignature Language="DocId" Value="P:Android.Provider.SearchRecentSuggestions.ThresholdClass" />
<MemberSignature Language="F#" Value="member this.ThresholdClass : nativeint" Usage="Android.Provider.SearchRecentSuggestions.ThresholdClass" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.IntPtr" /> which contains the <c>java.lang.Class</c> JNI value corresponding to this type.</value>
<remarks>
<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="ThresholdType">
<MemberSignature Language="C#" Value="protected override Type ThresholdType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Type ThresholdType" />
<MemberSignature Language="DocId" Value="P:Android.Provider.SearchRecentSuggestions.ThresholdType" />
<MemberSignature Language="F#" Value="member this.ThresholdType : Type" Usage="Android.Provider.SearchRecentSuggestions.ThresholdType" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.</summary>
<value>A <see cref="T:System.Type" /> which provides the declaring type.</value>
<remarks>
<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="TruncateHistory">
<MemberSignature Language="C#" Value="protected virtual void TruncateHistory (Android.Content.ContentResolver? cr, int maxEntries);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void TruncateHistory(class Android.Content.ContentResolver cr, int32 maxEntries) cil managed" />
<MemberSignature Language="DocId" Value="M:Android.Provider.SearchRecentSuggestions.TruncateHistory(Android.Content.ContentResolver,System.Int32)" />
<MemberSignature Language="F#" Value="abstract member TruncateHistory : Android.Content.ContentResolver * int -> unit
override this.TruncateHistory : Android.Content.ContentResolver * int -> unit" Usage="searchRecentSuggestions.TruncateHistory (cr, maxEntries)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("truncateHistory", "(Landroid/content/ContentResolver;I)V", "GetTruncateHistory_Landroid_content_ContentResolver_IHandler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("truncateHistory", "(Landroid/content/ContentResolver;I)V", "GetTruncateHistory_Landroid_content_ContentResolver_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cr" Type="Android.Content.ContentResolver" />
<Parameter Name="maxEntries" Type="System.Int32" />
</Parameters>
<Docs>
<param name="cr">Convenience copy of the content resolver.</param>
<param name="maxEntries">Max entries to leave in the table. 0 means remove all entries.</param>
<summary>Reduces the length of the history table, to prevent it from growing too large.</summary>
<remarks>
<para>Reduces the length of the history table, to prevent it from growing too large.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/provider/SearchRecentSuggestions#truncateHistory(android.content.ContentResolver,%20int)" title="Reference documentation">Java documentation for <code>android.provider.SearchRecentSuggestions.truncateHistory(android.content.ContentResolver, int)</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>
<since version="Added in API level 1" />
</Docs>
</Member>
</Members>
</Type>