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 [[email protected]_camera_finish] to get the results.

Parameters:

this

a [class@Portal]

parent

parent window information

flags

options for this call

cancellable

optional [[email protected]]

callback

a callback to call when the request is done

data

data to pass to callback




2022 vala-language.org