SearchSpec.Builder.SetResultCountPerPage(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.
Sets the number of results per page in the returned object.
[Android.Runtime.Register("setResultCountPerPage", "(I)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=31)]
public Android.App.AppSearch.SearchSpec.Builder SetResultCountPerPage(int resultCountPerPage);
[<Android.Runtime.Register("setResultCountPerPage", "(I)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=31)>]
member this.SetResultCountPerPage : int -> Android.App.AppSearch.SearchSpec.Builder
Parameters
- resultCountPerPage
- Int32
Value is between 0 and ERROR(/android.app.appsearch.SearchSpec#MAX_NUM_PER_PAGE) inclusive
Returns
- Attributes
Remarks
Sets the number of results per page in the returned object. The default number of results per page is 10.
Android reference for android.app.appsearch.SearchSpec.Builder.setResultCountPerPage.
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.