public class PathPermission
extends PatternMatcher
| java.lang.Object | ||
| android.os.PatternMatcher | ||
| android.content.pm.PathPermission | ||
访问 ProviderInfo特定路径所需的权限说明。
Inherited constants |
|---|
android.os.PatternMatcher
|
android.os.Parcelable
|
Fields |
|
|---|---|
public static final Creator<PathPermission> |
CREATOR |
Inherited fields |
|---|
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) |
|
|---|---|
android.os.PatternMatcher
|
|
java.lang.Object
|
|
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. |