ContactsContract.LimitParamKey Field
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.
A query parameter that limits the number of results returned for supported URIs.
[Android.Runtime.Register("LIMIT_PARAM_KEY")]
public const string LimitParamKey;
[<Android.Runtime.Register("LIMIT_PARAM_KEY")>]
val mutable LimitParamKey : string
Field Value
- Attributes
Remarks
A query parameter that limits the number of results returned for supported URIs. The parameter value should be an integer.
This parameter is not supported by all URIs. Supported URIs include, but not limited to, Contacts#CONTENT_URI
, RawContacts#CONTENT_URI
, Data#CONTENT_URI
, CommonDataKinds.Phone#CONTENT_URI
, CommonDataKinds.Callable#CONTENT_URI
, CommonDataKinds.Email#CONTENT_URI
, CommonDataKinds.Contactables#CONTENT_URI
,
In order to limit the number of rows returned by a non-supported URI, you can implement a CursorWrapper
and override the CursorWrapper#getCount()
methods.
Java documentation for android.provider.ContactsContract.LIMIT_PARAM_KEY
.
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.