Class: SetRingtoneAction

Inherits:
PhoneAction show all
Defined in:
lib/ruby-macrodroid.rb

Overview

Category: Phone

Instance Attribute Summary

Attributes inherited from Action

#constraints

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ SetRingtoneAction

Returns a new instance of SetRingtoneAction.



3843
3844
3845
3846
3847
3848
3849
3850
3851
# File 'lib/ruby-macrodroid.rb', line 3843

def initialize(h={})

  options = {
    ringtone_uri: 'content://media/internal/audio/media/174'
  }

  super(options.merge h)

end