RequestCode

enum RequestCode : Enum<RequestCode>

Class containing the codes used in requesting permissions related to launching activities related to the Gallery of the device.

Since the said operations require integers as codes, they are referenced using their positions in this enumeration declaration, that is, via the property ordinal.

Constructors

RequestCode
Link copied to clipboard
private fun RequestCode()
Creates an enumeration class containing the codes used in requesting permissions related to launching activities related to the Gallery of the device.

Entries

REQUEST_CODE_IMAGE_GALLERY
Link copied to clipboard
Request code for launching activities related to the Gallery.

Inherited properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int