Language

PeopleContract.Persons.Query.Builder.AddPhoneQuery Method

Definition

Adds a sub-query searching for person records that match the given list of phone numbers within the specified directory package.

[Android.Runtime.Register("addPhoneQuery", "(Ljava/lang/String;Ljava/util/List;)Landroid/provider/PeopleContract$Persons$Query$Builder;", "", ApiSince=37)]
public Android.Provider.PeopleContract.Persons.Query.Builder AddPhoneQuery(string packageName, System.Collections.Generic.IList<string> phones);
[<Android.Runtime.Register("addPhoneQuery", "(Ljava/lang/String;Ljava/util/List;)Landroid/provider/PeopleContract$Persons$Query$Builder;", "", ApiSince=37)>]
member this.AddPhoneQuery : string * System.Collections.Generic.IList<string> -> Android.Provider.PeopleContract.Persons.Query.Builder

Parameters

packageName
String

The package name of the target directory application. This value cannot be null.

phones
IList<String>

A list of phone number strings to search for. Required to be in E.164 standard format. This value cannot be null.

Returns

This builder instance for method chaining. This value cannot be null.

Attributes

Remarks

Adds a sub-query searching for person records that match the given list of phone numbers within the specified directory package.

Android reference for android.provider.PeopleContract.Persons.Query.Builder.addPhoneQuery.

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