CloudMediaProviderContract.ExtraPageToken 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.
Opaque pagination token to retrieve the next page (cursor) from a media or album query.
[Android.Runtime.Register("EXTRA_PAGE_TOKEN", ApiSince=33)]
public const string ExtraPageToken;
[<Android.Runtime.Register("EXTRA_PAGE_TOKEN", ApiSince=33)>]
val mutable ExtraPageToken : string
Field Value
- Attributes
Remarks
Opaque pagination token to retrieve the next page (cursor) from a media or album query.
Providers can optionally set this token as part of the Cursor#setExtras
Bundle
. If a token is set, the OS can pass it as a Bundle
parameter when querying for media or albums to fetch subsequent pages. The provider can keep returning pagination tokens until the last page at which point it should not set a token on the Cursor
.
If the provider handled the page token as part of the query, they must add the #EXTRA_PAGE_TOKEN
key to the array of ContentResolver#EXTRA_HONORED_ARGS
as part of the returned Cursor#setExtras
Bundle
.
Java documentation for android.provider.CloudMediaProviderContract.EXTRA_PAGE_TOKEN
.
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.