public class PathPermission extends PatternMatcher
ProviderInfo
.Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<PathPermission> |
CREATOR |
PATTERN_LITERAL, PATTERN_PREFIX, PATTERN_SIMPLE_GLOB
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
PathPermission(Parcel src) |
PathPermission(String pattern,
int type,
String readPermission,
String writePermission) |
Modifier and Type | Method and Description |
---|---|
String |
getReadPermission() |
String |
getWritePermission() |
void |
writeToParcel(Parcel dest,
int flags)
Flatten this object in to a Parcel.
|
describeContents, getPath, getType, match, toString
public static final Parcelable.Creator<PathPermission> CREATOR
public PathPermission(String pattern, int type, String readPermission, String writePermission)
public PathPermission(Parcel src)
public String getReadPermission()
public String getWritePermission()
public void writeToParcel(Parcel dest, int flags)
Parcelable
writeToParcel
in interface Parcelable
writeToParcel
in class PatternMatcher
dest
- The Parcel in which the object should be written.flags
- Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE
.