ContentResolver.ReleasePersistableUriPermission(Uri, ActivityFlags) Method
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.
Relinquish a persisted URI permission grant.
[Android.Runtime.Register("releasePersistableUriPermission", "(Landroid/net/Uri;I)V", "GetReleasePersistableUriPermission_Landroid_net_Uri_IHandler")]
public virtual void ReleasePersistableUriPermission (Android.Net.Uri uri, Android.Content.ActivityFlags modeFlags);
[<Android.Runtime.Register("releasePersistableUriPermission", "(Landroid/net/Uri;I)V", "GetReleasePersistableUriPermission_Landroid_net_Uri_IHandler")>]
abstract member ReleasePersistableUriPermission : Android.Net.Uri * Android.Content.ActivityFlags -> unit
override this.ReleasePersistableUriPermission : Android.Net.Uri * Android.Content.ActivityFlags -> unit
Parameters
- uri
- Uri
- modeFlags
- ActivityFlags
- Attributes
Remarks
Relinquish a persisted URI permission grant. The URI must have been previously made persistent with #takePersistableUriPermission(Uri, int)
. Any non-persistent grants to the calling package will remain intact.
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.