次の方法で共有


UriPermission.PersistedTime Property

Definition

Return the time when this permission was first persisted, in milliseconds since January 1, 1970 00:00:00.

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

Property Value

Attributes

Remarks

Return the time when this permission was first persisted, in milliseconds since January 1, 1970 00:00:00.0 UTC. Returns #INVALID_TIME if not persisted.

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