Language

PeopleContract.Directory.RequestRefresh(Context, CancellationSignal) Method

Definition

Requests the system to refresh cached records across all registered People Directories.

[Android.Runtime.Register("requestRefresh", "(Landroid/content/Context;Landroid/os/CancellationSignal;)Z", "", ApiSince=37)]
public static bool RequestRefresh(Android.Content.Context context, Android.OS.CancellationSignal? cancellationSignal);
[<Android.Runtime.Register("requestRefresh", "(Landroid/content/Context;Landroid/os/CancellationSignal;)Z", "", ApiSince=37)>]
static member RequestRefresh : Android.Content.Context * Android.OS.CancellationSignal -> bool

Parameters

context
Context

The Context used to access the ContentResolver.

cancellationSignal
CancellationSignal

An optional CancellationSignal to cancel the refresh request, or null.

Returns

true if the refresh request was successfully accepted, false if the calling package is not a registered People Directory or the request could not be processed.

Attributes

Applies to