MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / requestPermission

Method requestPermission

src/plugins/system/system.d.ts:207–207  ·  view source on GitHub ↗

* Requests user to grant the provided permission * @param permission constant value of the permission required @see https://developer.android.com/reference/android/Manifest.permission * @param onSuccess * @param onFail

(
    permission: string,
    onSuccess: OnSuccessBool,
    onFail: OnFail,
  )

Source from the content-addressed store, hash-verified

205 * @param onFail
206 */
207 requestPermission(
208 permission: string,
209 onSuccess: OnSuccessBool,
210 onFail: OnFail,

Callers 2

onDeviceReadyFunction · 0.65
requestPermissionMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected