checkPermission()
Checks if the app has been granted the required permissions.
PermissionResult checkPermission(Permission permission)
Parameters
permission
This indicates whether or not the app is granted or denied access permission.
Return value
PermissionResultGRANTED
if the user granted access permission
PermissionResultDENIED
if the user denied access permission
See also
Permissions
void requestPermission()
Requests permission to access VIVE AI Glasses resources
Enumerations
enum Permission
This defines the permission that the app is requesting.
enum PermissionResult
This indicates the result of the permission request.