mmplaylist_props_get()

Get properties of a playlist session.

Synopsis:

#include <mm/mmplaylist.h>
mmplaylist_props_t* mmplaylist_props_get( mmplaylist_t *pl )

Arguments:

pl
A valid session handle

Library:

libmmplaylist

Description:

Get properties of a playlist session. This function lists the properties of the session in a data structure that it returns to the caller. Applications can read these properties to learn which operations are fast in the current session and then provide a better user experience by avoiding slow operations.

The function allocates memory for the structure that it returns. The caller should free this memory using free().

Returns:

A pointer to an mmplaylist_props_t structure on success

NULL on failure (use mmplaylist_last_error_get() to get error information)