Share via


ContentResolver.PersistedUriPermissions Property

Definition

Return list of all URI permission grants that have been persisted by the calling app.

public virtual System.Collections.Generic.IList<Android.Content.UriPermission> PersistedUriPermissions { [Android.Runtime.Register("getPersistedUriPermissions", "()Ljava/util/List;", "GetGetPersistedUriPermissionsHandler")] get; }
[<get: Android.Runtime.Register("getPersistedUriPermissions", "()Ljava/util/List;", "GetGetPersistedUriPermissionsHandler")>]
member this.PersistedUriPermissions : System.Collections.Generic.IList<Android.Content.UriPermission>

Property Value

Attributes

Remarks

Return list of all URI permission grants that have been persisted by the calling app. That is, the returned permissions have been granted <em>to</em> the calling app. Only persistable grants taken with #takePersistableUriPermission(Uri, int) are returned.

Note: Some of the returned URIs may not be usable until after the user is unlocked.

Java documentation for android.content.ContentResolver.getPersistedUriPermissions().

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

See also

  • <xref:Android.Content.ContentResolver.TakePersistableUriPermission(Android.Net.Uri%2c+Android.Content.ActivityFlags)>
  • <xref:Android.Content.ContentResolver.ReleasePersistableUriPermission(Android.Net.Uri%2c+Android.Content.ActivityFlags)>