package mpris

  1. Overview
  2. Docs
val interface : OBus_name.interface
val m_Next : (unit, unit) OBus_member.Method.t
val m_OpenUri : (string, unit) OBus_member.Method.t
val m_Pause : (unit, unit) OBus_member.Method.t
val m_Play : (unit, unit) OBus_member.Method.t
val m_PlayPause : (unit, unit) OBus_member.Method.t
val m_Previous : (unit, unit) OBus_member.Method.t
val m_Seek : (int64, unit) OBus_member.Method.t
val m_SetPosition : (OBus_path.t * int64, unit) OBus_member.Method.t
val m_Stop : (unit, unit) OBus_member.Method.t
val s_Seeked : int64 OBus_member.Signal.t
val p_CanControl : (bool, [ `readable ]) OBus_member.Property.t
val p_CanGoNext : (bool, [ `readable ]) OBus_member.Property.t
val p_CanGoPrevious : (bool, [ `readable ]) OBus_member.Property.t
val p_CanPause : (bool, [ `readable ]) OBus_member.Property.t
val p_CanPlay : (bool, [ `readable ]) OBus_member.Property.t
val p_CanSeek : (bool, [ `readable ]) OBus_member.Property.t
val p_LoopStatus : (string, [ `readable | `writable ]) OBus_member.Property.t
val p_MaximumRate : (float, [ `readable ]) OBus_member.Property.t
val p_Metadata : ((string * OBus_value.V.single) list, [ `readable ]) OBus_member.Property.t
val p_MinimumRate : (float, [ `readable ]) OBus_member.Property.t
val p_PlaybackStatus : (string, [ `readable ]) OBus_member.Property.t
val p_Position : (int64, [ `readable ]) OBus_member.Property.t
val p_Rate : (float, [ `readable | `writable ]) OBus_member.Property.t
val p_Shuffle : (bool, [ `readable | `writable ]) OBus_member.Property.t
val p_Volume : (float, [ `readable | `writable ]) OBus_member.Property.t
type 'a members = {
  1. m_Next : 'a OBus_object.t -> unit -> unit Lwt.t;
  2. m_OpenUri : 'a OBus_object.t -> string -> unit Lwt.t;
  3. m_Pause : 'a OBus_object.t -> unit -> unit Lwt.t;
  4. m_Play : 'a OBus_object.t -> unit -> unit Lwt.t;
  5. m_PlayPause : 'a OBus_object.t -> unit -> unit Lwt.t;
  6. m_Previous : 'a OBus_object.t -> unit -> unit Lwt.t;
  7. m_Seek : 'a OBus_object.t -> int64 -> unit Lwt.t;
  8. m_SetPosition : 'a OBus_object.t -> (OBus_path.t * int64) -> unit Lwt.t;
  9. m_Stop : 'a OBus_object.t -> unit -> unit Lwt.t;
  10. p_CanControl : 'a OBus_object.t -> bool React.signal;
  11. p_CanGoNext : 'a OBus_object.t -> bool React.signal;
  12. p_CanGoPrevious : 'a OBus_object.t -> bool React.signal;
  13. p_CanPause : 'a OBus_object.t -> bool React.signal;
  14. p_CanPlay : 'a OBus_object.t -> bool React.signal;
  15. p_CanSeek : 'a OBus_object.t -> bool React.signal;
  16. p_LoopStatus : ('a OBus_object.t -> string React.signal) * ('a OBus_object.t -> string -> unit Lwt.t);
  17. p_MaximumRate : 'a OBus_object.t -> float React.signal;
  18. p_Metadata : 'a OBus_object.t -> (string * OBus_value.V.single) list React.signal;
  19. p_MinimumRate : 'a OBus_object.t -> float React.signal;
  20. p_PlaybackStatus : 'a OBus_object.t -> string React.signal;
  21. p_Position : 'a OBus_object.t -> int64 React.signal;
  22. p_Rate : ('a OBus_object.t -> float React.signal) * ('a OBus_object.t -> float -> unit Lwt.t);
  23. p_Shuffle : ('a OBus_object.t -> bool React.signal) * ('a OBus_object.t -> bool -> unit Lwt.t);
  24. p_Volume : ('a OBus_object.t -> float React.signal) * ('a OBus_object.t -> float -> unit Lwt.t);
}
val make : 'a members -> 'a OBus_object.interface
OCaml

Innovation. Community. Security.