adas_set_viewer_visibility()

Updated: May 06, 2022

Dynamically set a viewer's visibility

Synopsis:

#include <adas/adas_api.h>
adas_error_t adas_set_viewer_visibility(uint32_t inst,
                                        bool visible)

Arguments:

inst
The instance of the viewer you want to configure.
visible
Set to true to make the viewer visible, false otherwise.

Library:

libadas

Description:

The viewer instance affected is the one specified for the given viewer in the configuration file.

Returns:

ADAS_EOK when the function successfully completes, otherwise another adas_error_t value that provides the reason that the call failed.