Xdp.Portal.access_camera_finish

### Method

# Xdp Portalaccess_camera_finish

#### Declaration [src]

    gboolean
    xdp_portal_access_camera_finish (
      XdpPortal* portal,
      GAsyncResult* result,
      GError** error
    )

#### Description [src]

Finishes a camera acess request.

Returns the result as a boolean.

If the access was granted, you can then call `xdp_portal_open_pipewire_remote_for_camera()` to obtain a pipewire remote.

#### Parameters

`result` | `GAsyncResult`
| A `GAsyncResult`
| The data is owned by the caller of the function.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `gboolean`
| `TRUE` if access to a camera was granted.