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


访问 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)

将此对象平铺到一个包裹中。

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)

将此对象平铺到一个包裹中。

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!