Android APIs
public class

PathPermission

extends PatternMatcher
java.lang.Object
   ↳ android.os.PatternMatcher
     ↳ android.content.pm.PathPermission

Class Overview

Description of permissions needed to access a particular path in a ProviderInfo.

Summary

[Expand]
Inherited Constants
From class android.os.PatternMatcher
From interface android.os.Parcelable
Fields
public static final Creator<PathPermission> CREATOR
[Expand]
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)
Flatten this object in to a Parcel.
[Expand]
Inherited Methods
From class android.os.PatternMatcher
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<PathPermission> CREATOR

Added in API level 4

Public Constructors

public PathPermission (String pattern, int type, String readPermission, String writePermission)

Added in API level 4

Parameters
pattern String
type int
readPermission String
writePermission String

public PathPermission (Parcel src)

Added in API level 4

Parameters
src Parcel

Public Methods

public String getReadPermission ()

Added in API level 4

Returns
String

public String getWritePermission ()

Added in API level 4

Returns
String

public void writeToParcel (Parcel dest, int flags)

Added in API level 4

Flatten this object in to a Parcel.

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.