Documentation ¶
Index ¶
- Constants
- func Run()
- type Manager
- func (m *Manager) EnableSound(name string, enabled bool) *dbus.Error
- func (v *Manager) GetExportedMethods() dbusutil.ExportedMethods
- func (*Manager) GetInterfaceName() string
- func (m *Manager) GetSoundEnabledMap() (result map[string]bool, busErr *dbus.Error)
- func (m *Manager) GetSoundFile(name string) (file string, busErr *dbus.Error)
- func (m *Manager) GetSystemSoundFile(name string) (file string, busErr *dbus.Error)
- func (m *Manager) IsSoundEnabled(name string) (enabled bool, busErr *dbus.Error)
- func (m *Manager) PlaySound(name string) *dbus.Error
- func (m *Manager) PlaySystemSound(name string) *dbus.Error
Constants ¶
View Source
const (
DBusServiceName = "org.deepin.dde.SoundEffect1"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Manager ¶
type Manager struct { Enabled gsprop.Bool `prop:"access:rw"` // contains filtered or unexported fields }
func NewManager ¶
func (*Manager) EnableSound ¶
func (*Manager) GetExportedMethods ¶
func (v *Manager) GetExportedMethods() dbusutil.ExportedMethods
func (*Manager) GetInterfaceName ¶
func (*Manager) GetSoundEnabledMap ¶
func (*Manager) GetSoundFile ¶
func (*Manager) GetSystemSoundFile ¶
deprecated
func (*Manager) IsSoundEnabled ¶
func (*Manager) PlaySystemSound ¶
deprecated
Click to show internal directories.
Click to hide internal directories.