Added in API level 4

PathPermission


open class PathPermission : PatternMatcher
kotlin.Any
   ↳ android.os.PatternMatcher
   ↳ android.content.pm.PathPermission

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

Summary

Inherited constants
Public constructors
PathPermission(pattern: String!, type: Int, readPermission: String!, writePermission: String!)

Public methods
open String!

open String!

open Unit
writeToParcel(dest: Parcel, flags: Int)

Inherited functions
Properties
static Parcelable.Creator<PathPermission!>

Public constructors

PathPermission

Added in API level 4
PathPermission(
    pattern: String!,
    type: Int,
    readPermission: String!,
    writePermission: String!)

PathPermission

Added in API level 4
PathPermission(src: Parcel!)

Public methods

getReadPermission

Added in API level 4
open fun getReadPermission(): String!

getWritePermission

Added in API level 4
open fun getWritePermission(): String!

writeToParcel

Added in API level 4
open fun writeToParcel(
    dest: Parcel,
    flags: Int
): Unit
Parameters
dest Parcel: The Parcel in which the object should be written. This value cannot be null.
flags Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE. Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES

Properties

CREATOR

Added in API level 4
static val CREATOR: Parcelable.Creator<PathPermission!>