access_camera
Description:
public async bool access_camera (Parent? parent, CameraFlags flags, Cancellable? cancellable) throws Error
Request access to a camera.
When the request is done, callback
will be called. You can then call [method@Portal.access_camera_finish] to get the results.
Parameters:
this |
a [class@Portal] |
parent |
parent window information |
flags |
options for this call |
cancellable |
optional [class@Gio.Cancellable] |
callback |
a callback to call when the request is done |
data |
data to pass to |