Method

ValentMediaAdapterplayer_added

unstable since: 1.0

Declaration [src]

void
valent_media_adapter_player_added (
  ValentMediaAdapter* adapter,
  ValentMediaPlayer* player
)

Description [src]

Called when player has been added to adapter.

This method should only be called by implementations of ValentMediaAdapter. adapter will hold a reference on player and emit GListModel::items-changed.

Available since: 1.0

Parameters

player

Type: ValentMediaPlayer

A ValentMediaPlayer.

The data is owned by the caller of the method.