Most visited

Recently visited

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

From class android.os.PatternMatcher
From interface android.os.Parcelable

Fields

public static final Creator<PathPermission> CREATOR

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.

Inherited methods

From class android.os.PatternMatcher
From class java.lang.Object
From interface android.os.Parcelable

Fields

CREATOR

Added in API level 4
Creator<PathPermission> CREATOR

Public constructors

PathPermission

Added in API level 4
PathPermission (String pattern, 
                int type, 
                String readPermission, 
                String writePermission)

Parameters
pattern String
type int
readPermission String
writePermission String

PathPermission

Added in API level 4
PathPermission (Parcel src)

Parameters
src Parcel

Public methods

getReadPermission

Added in API level 4
String getReadPermission ()

Returns
String

getWritePermission

Added in API level 4
String getWritePermission ()

Returns
String

writeToParcel

Added in API level 4
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.
flags int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE.

Hooray!