You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/src/storage_access_framework/uri_permission.dart
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,26 @@
4
4
///
5
5
/// [Refer to details](https://developer.android.com/reference/android/content/UriPermission)
6
6
classUriPermission {
7
+
/// Whether an [UriPermission] is created with [`FLAG_GRANT_READ_URI_PERMISSION`](https://developer.android.com/reference/android/content/Intent#FLAG_GRANT_READ_URI_PERMISSION)
7
8
finalbool isReadPermission;
9
+
10
+
/// Whether an [UriPermission] is created with [`FLAG_GRANT_WRITE_URI_PERMISSION`](https://developer.android.com/reference/android/content/Intent#FLAG_GRANT_WRITE_URI_PERMISSION)
8
11
finalbool isWritePermission;
12
+
13
+
/// Return the time when this permission was first persisted, in milliseconds
14
+
/// since January 1, 1970 00:00:00.0 UTC. Returns `INVALID_TIME` if
15
+
/// not persisted.
16
+
///
17
+
/// [Refer to details](https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/content/UriPermission.java#77)
9
18
finalint persistedTime;
19
+
20
+
/// Return the Uri this permission pertains to.
21
+
///
22
+
/// [Refer to details](https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/content/UriPermission.java#56)
10
23
finalUri uri;
11
24
25
+
/// Even we allow create instances of this class avoid it and use
0 commit comments