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(Parcel src)
PathPermission(String pattern, int type, String readPermission, String writePermission)

Public methods

String getReadPermission()
String getWritePermission()
void writeToParcel(Parcel dest, int flags)

Flatten this object in to a Parcel.

Inherited methods

Fields

CREATOR

Added in API level 4
public static final Creator<PathPermission> CREATOR

Public constructors

PathPermission

Added in API level 4
public PathPermission (Parcel src)

Parameters
src Parcel

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

getReadPermission

Added in API level 4
public String getReadPermission ()

Returns
String

getWritePermission

Added in API level 4
public String getWritePermission ()

Returns
String

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