Player
Object Hierarchy:
Description:
public sealed class Player : Object
Content:
Properties:
Creation methods:
Methods:
Signals:
- public signal void current_track_finish_loading (Track track_info)
Current track started loaded. Inteface can be released from block.
- public signal void current_track_start_loading ()
Current track started loaded. Inteface should block for interaction.
- public signal void mode_inited ()
- public signal void next_track_loaded (Track? next_track)
Triggers when previous track in queue finish loading. For next track
show posibility.
- public signal void paused (Track track_info)
Feedback. Triggered when track paused.
- public signal void playback_callback (double position_sec)
- public signal void played (Track track_info)
Feedback. Triggered when track start playing.
- public signal void position_changed (int64 position)
You can get position via: - position - position_sec - position_us
- public signal void queue_changed (Array<Track> queue, string context_type, string? context_id, int current_index, string? context_description)
- public signal void ready_play_next ()
Next track loaded and ready to play. For situations where there was a
switch to the next track so that the interface could react correctly.
- public signal void ready_play_prev ()
Previous track loaded and ready to play. For situations where there
was a switch to the previous track so that the interface could react correctly.
- public signal void stopped ()
Feedback. Triggered when player stopped.
- public signal void track_stopped ()
Feedback. Triggered when track stopped.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref