Stay organized with collections
Save and categorize content based on your preferences.
PathPermission
open class PathPermission : PatternMatcher
Description of permissions needed to access a particular path in a ProviderInfo
.
Summary
Inherited constants |
From class Parcelable
Int |
CONTENTS_FILE_DESCRIPTOR
Descriptor bit used with describeContents() : indicates that the Parcelable object's flattened representation includes a file descriptor.
|
Int |
PARCELABLE_WRITE_RETURN_VALUE
Flag for use with writeToParcel : the object being written is a return value, that is the result of a function such as "Parcelable someFunction() ", "void someFunction(out Parcelable) ", or "void someFunction(inout Parcelable) ". Some implementations may want to release resources at this point.
|
|
From class PatternMatcher
Int |
PATTERN_ADVANCED_GLOB
Pattern type: the given pattern is interpreted with a regular expression-like syntax for matching against the string it is tested against. Supported tokens include dot (. ) and sets ([...] ) with full support for character ranges and the not (^ ) modifier. Supported modifiers include star (* ) for zero-or-more, plus (+ ) for one-or-more and full range ({...} ) support. This is a simple evaluation implementation in which matching is done against the pattern in real time with no backtracking support.
|
Int |
PATTERN_LITERAL
Pattern type: the given pattern must exactly match the string it is tested against.
|
Int |
PATTERN_PREFIX
Pattern type: the given pattern must match the beginning of the string it is tested against.
|
Int |
PATTERN_SIMPLE_GLOB
Pattern type: the given pattern is interpreted with a simple glob syntax for matching against the string it is tested against. In this syntax, you can use the '*' character to match against zero or more occurrences of the character immediately before. If the character before it is '.' it will match any character. The character '\' can be used as an escape. This essentially provides only the '*' wildcard part of a normal regexp.
|
Int |
PATTERN_SUFFIX
Pattern type: the given pattern must match the end of the string it is tested against.
|
|
Public constructors
PathPermission
PathPermission(
pattern: String!,
type: Int,
readPermission: String!,
writePermission: String!)
PathPermission
PathPermission(src: Parcel!)
Public methods
getReadPermission
open fun getReadPermission(): String!
getWritePermission
open fun getWritePermission(): String!
writeToParcel
open fun writeToParcel(
dest: Parcel,
flags: Int
): Unit
Properties
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-04 UTC."],[],[]]