• Custom hook for obtaining camera permissions.

    Returns {
        cameraPermissions: undefined | PermissionStatus;
        getPermissions: (() => Promise<void>);
    }

    • cameraPermissions: undefined | PermissionStatus
    • getPermissions: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>