Language

UriPermission.PersistedTime Property

Definition

Gets the time associated with this persisted permission, in milliseconds since January 1, 1970 00:00:00.0 UTC.

public long PersistedTime { [Android.Runtime.Register("getPersistedTime", "()J", "")] get; }
[<get: Android.Runtime.Register("getPersistedTime", "()J", "")>]
member this.PersistedTime : int64

Property Value

The time associated with this persisted permission, or InvalidTime if it is not persisted.

Attributes

Remarks

Taking a persistable permission again can update its associated time.

Java documentation for android.content.UriPermission.getPersistedTime().

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)>
  • CurrentTimeMillis()