Function

AstalMprisPlayernew_async

Declaration

void
astal_mpris_player_new_async (
  const gchar* name,
  GAsyncReadyCallback _callback_,
  void* _callback__target
)

Description

Async version of astal_mpris_player_new() that yields after the player is fully initialized. Note that if the player is not avaiable on the session bus properties will have empty values.

Parameters

name

Type: const gchar*

Dbus name of the player. .

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
_callback_

Type: GAsyncReadyCallback

No description available.

_callback__target

Type: void*

No description available.

The argument can be NULL.
The data is owned by the caller of the function.