adas_get_supported_views()

Retrieve the list of supported views associated with a viewer

Synopsis:

#include <adas/adas_api.h>
adas_error_t adas_get_supported_views(uint32_t inst,
                                      adas_view_t *views,
                                      size_t *supported)

Arguments:

inst
The instance of interest.
views
Pointer to array of views filled in by this function or NULL.
supported
Gets filled with the number of supported views.

Library:

libadas

Description:

The instance corresponds to the instance specified for the viewer in the configuration file. Can be called first with views set to NULL to retrieve the number of supported views to know how big of an array to provide to this function.

Returns:

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