PipeWire 1.2.6
Loading...
Searching...
No Matches
pw_client_events Struct Reference

Client events. More...

#include <pipewire/client.h>

Data Fields

uint32_t version
 
void(* info )(void *data, const struct pw_client_info *info)
 Notify client info.
 
void(* permissions )(void *data, uint32_t index, uint32_t n_permissions, const struct pw_permission *permissions)
 Notify a client permission.
 

Detailed Description

Client events.

Examples
tutorial6.c.

Field Documentation

◆ version

uint32_t pw_client_events::version

◆ info

void(* pw_client_events::info) (void *data, const struct pw_client_info *info)

Notify client info.

Parameters
infoinfo about the client
Examples
tutorial6.c.

◆ permissions

void(* pw_client_events::permissions) (void *data, uint32_t index, uint32_t n_permissions, const struct pw_permission *permissions)

Notify a client permission.

Event emitted as a result of the get_permissions method.

Parameters
default_permissionsthe default permissions
indexthe index of the first permission entry
n_permissionsthe number of permissions
permissionsthe permissions

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