play_full


Description:

public async bool play_full (Cancellable? cancellable, ...) throws Error

Asynchronously request a sound to be played.

When playback is finished (or if an error occurs) then callback will be called, following the normal GIO async pattern.

If playback is cancelled via cancellable, then callback will be called with CANCELLED.

If you do not need notification of when playback is complete, you should use play_simple.

Parameters:

this

A Context

cancellable

A Cancellable, or null

...

A null-terminated list of attribute-value pairs

callback

callback

user_data

User data passed to callback