Method
XdpPortalaccess_camera
Declaration [src]
void
xdp_portal_access_camera (
XdpPortal* portal,
XdpParent* parent,
XdpCameraFlags flags,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer data
)
Description [src]
Request access to a camera.
When the request is done, callback will be called.
You can then call xdp_portal_access_camera_finish()
to get the results.
Parameters
parent-
Type:
XdpParentParent window information.
The argument can be NULL.The data is owned by the caller of the function. flags-
Type:
XdpCameraFlagsOptions for this call.
cancellable-
Type:
GCancellableOptional
GCancellableThe argument can be NULL.The data is owned by the caller of the function. callback-
Type:
GAsyncReadyCallbackA callback to call when the request is done.
The argument can be NULL. data-
Type:
gpointerData to pass to
callback.The argument can be NULL.The data is owned by the caller of the function.