public class PathPermission
extends PatternMatcher
java.lang.Object | ||
↳ | android.os.PatternMatcher | |
↳ | android.content.pm.PathPermission |
访问 ProviderInfo
特定路径所需的权限说明。
Inherited constants |
---|
From class android.os.PatternMatcher
|
From interface android.os.Parcelable
|
Fields |
|
---|---|
public static final Creator<PathPermission> |
CREATOR |
Inherited fields |
---|
From class android.os.PatternMatcher
|
Public constructors |
|
---|---|
PathPermission(String pattern, int type, String readPermission, String writePermission) |
|
PathPermission(Parcel src) |
Public methods |
|
---|---|
String |
getReadPermission() |
String |
getWritePermission() |
void |
writeToParcel(Parcel dest, int flags) 将此对象平铺到一个包裹中。 |
Inherited methods |
|
---|---|
From class android.os.PatternMatcher
|
|
From class java.lang.Object
|
|
From interface android.os.Parcelable
|
PathPermission (String pattern, int type, String readPermission, String writePermission)
Parameters | |
---|---|
pattern |
String
|
type |
int
|
readPermission |
String
|
writePermission |
String
|
void writeToParcel (Parcel dest, int flags)
将此对象平铺到一个包裹中。
Parameters | |
---|---|
dest |
Parcel : The Parcel in which the object should be written. |
flags |
int : Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE . |