VLC 4.0.0-dev
Loading...
Searching...
No Matches
libvlc_media_discoverer_cbs Struct Reference

struct defining callbacks for libvlc_media_discoverer_new() More...

#include <libvlc_media_discoverer.h>

Data Fields

uint32_t version
 Version of struct libvlc_media_discoverer_cbs.
void(* on_media_added )(void *opaque, libvlc_media_t *parent, libvlc_media_t *media)
 Callback prototype that notify when the discoverer added a media.
void(* on_media_removed )(void *opaque, libvlc_media_t *media)
 Callback prototype that notify when the discoverer removed a media.

Detailed Description

struct defining callbacks for libvlc_media_discoverer_new()

Field Documentation

◆ on_media_added

void(* libvlc_media_discoverer_cbs::on_media_added) (void *opaque, libvlc_media_t *parent, libvlc_media_t *media)

Callback prototype that notify when the discoverer added a media.

Note
Optional (can be NULL), available since version 0
Parameters
opaqueopaque pointer set by libvlc_media_discoverer_new()
parentparent of the new added media or NULL if there is no parents (more likely)
mediathe new added media

◆ on_media_removed

void(* libvlc_media_discoverer_cbs::on_media_removed) (void *opaque, libvlc_media_t *media)

Callback prototype that notify when the discoverer removed a media.

Note
Optional (can be NULL), available since version 0
Parameters
opaqueopaque pointer set by libvlc_media_discoverer_new()
mediathe removed media

◆ version

uint32_t libvlc_media_discoverer_cbs::version

Version of struct libvlc_media_discoverer_cbs.


The documentation for this struct was generated from the following file: