Request Codes
Class containing the codes used in requesting permissions related to launching activities related to the camera and 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
RequestCodes
Link copied to clipboard
private fun RequestCodes()
Content copied to clipboard
Creates an enumeration class containing the codes used in requesting permissions related to launching activities related to the camera and Gallery of the device.
Entries
REQUEST_CODE_POST_CAMERA
Link copied to clipboard
Content copied to clipboard
Request code for launching activities related to the device camera.
REQUEST_CODE_POST_GALLERY
Link copied to clipboard
Content copied to clipboard
Request code for launching activities related to the Gallery.