Added in API level 4
PathPermission
public
class
PathPermission
extends PatternMatcher
java.lang.Object | ||
↳ | android.os.PatternMatcher | |
↳ | android.content.pm.PathPermission |
Description of permissions needed to access a particular path
in a ProviderInfo
.
Summary
Inherited constants |
---|
Fields | |
---|---|
public
static
final
Creator<PathPermission> |
CREATOR
|
Inherited fields |
---|
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)
Flatten this object in to a Parcel. |
Inherited methods | |
---|---|
Fields
Public constructors
PathPermission
Added in API level 4
public PathPermission (String pattern, int type, String readPermission, String writePermission)
Parameters | |
---|---|
pattern |
String |
type |
int |
readPermission |
String |
writePermission |
String |
Public methods
writeToParcel
Added in API level 4
public void writeToParcel (Parcel dest, int flags)
Flatten this object in to a Parcel.
Parameters | |
---|---|
dest |
Parcel : The Parcel in which the object should be written.
This value cannot be null . |
flags |
int : Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE .
Value is either 0 or a combination of Parcelable.PARCELABLE_WRITE_RETURN_VALUE , and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES |