Skip to content

Instantly share code, notes, and snippets.

@samyak-jain
Created November 19, 2020 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samyak-jain/f69b283f56376c7f7c49ebed438d99a3 to your computer and use it in GitHub Desktop.
Save samyak-jain/f69b283f56376c7f7c49ebed438d99a3 to your computer and use it in GitHub Desktop.
private fun requestPermissions() {
ActivityCompat.requestPermissions(this, arrayOf(android.Manifest.permission.RECORD_AUDIO, android.Manifest.permission.CAMERA), PERMISSION_CODE)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment