ProjectedPermissionsRequestParams


class ProjectedPermissionsRequestParams


Class representing data for requesting permissions from a Projected activity.

Summary

Public constructors

ProjectedPermissionsRequestParams(
    permissions: List<String>,
    rationale: String?
)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

List<String>

The permissions to request.

String?

The rationale for the permission request.

Public constructors

ProjectedPermissionsRequestParams

Added in 1.0.0-alpha01
ProjectedPermissionsRequestParams(
    permissions: List<String>,
    rationale: String?
)
Parameters
permissions: List<String>

The permissions to request.

rationale: String?

The rationale for the permission request. If null, the request will be presented to the user immediately. If not null, the rationale will be presented to the user first and the permission request will only be triggered after the user accepts the rationale. See ProjectedPermissionsResultContract for details.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

permissions

Added in 1.0.0-alpha01
val permissionsList<String>

The permissions to request.

rationale

Added in 1.0.0-alpha01
val rationaleString?

The rationale for the permission request. If null, the request will be presented to the user immediately. If not null, the rationale will be presented to the user first and the permission request will only be triggered after the user accepts the rationale. See ProjectedPermissionsResultContract for details.