PlayerMode
Object Hierarchy:
Description:
public abstract class PlayerMode : Object
Abstract class of player mode. Player can work with flow (radio), track list, local track list. Every mode autoconnect to
`Player.queue_changed` and `Player.nead_changed` signals.
Content:
Properties:
Creation methods:
Methods:
- public bool change_track (Track track_info)
Try to find track and play it.
- protected abstract Play form_play_obj ()
Form Play object foe play feedback.
- public virtual Track? get_current_track_info ()
Get current track info.
- public abstract int get_next_index (bool consider_repeat_mode)
Get next track index in queue. Track list and Flow have different
rules for this.
- public virtual Track? get_next_track_info (bool consider_repeat_mode)
Asynchronous getting next track info.
- public abstract int get_prev_index ()
Get previous track index in queue. Track list and Flow have different
rules for this.
- public virtual Track? get_prev_track_info ()
Asynchronous getting previous track info.
- public virtual async void next (bool consider_repeat_mode) throws CantUseError
Change current track to next.
- public virtual void prev ()
Change current track to previous in queue.
- public virtual async void send_play_async (string play_id, double end_position_seconds = 0.0, double total_played_seconds = 0.0)
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