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

Since: API Level 4

Public Constructors

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

Since: API Level 4

public PathPermission (Parcel src)

Since: API Level 4

Public Methods

public String getReadPermission ()

Since: API Level 4

public String getWritePermission ()

Since: API Level 4

public void writeToParcel (Parcel dest, int flags)

Since: API Level 4

Flatten this object in to a Parcel.

Parameters
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_WRITE_RETURN_VALUE.