共用方式為


ContentResolver.OutgoingPersistedUriPermissions Property

Definition

Return list of all persisted URI permission grants that are hosted by the calling app.

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

Property Value

Attributes

Remarks

Return list of all persisted URI permission grants that are hosted by the calling app. That is, the returned permissions have been granted <em>from</em> the calling app. Only 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.getOutgoingPersistedUriPermissions().

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