get_zones


Description:

public unowned List<InputCaptureZone> get_zones ()

Obtains the current set of [class@InputCaptureZone] objects.

The returned object is valid until the zones are invalidated by the [signal@InputCaptureSession: XdpInputCaptureSession:zones-changed] signal.

Unless the session is active, this function returns `NULL`.

Parameters:

this

a [class@InputCaptureSession]

Returns:

the available zones. The caller must keep a reference to the list or the elements if used outside the immediate scope.