Class: SetRingtoneAction

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

Overview

Category: Phone

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ SetRingtoneAction



2855
2856
2857
2858
2859
2860
2861
2862
2863
# File 'lib/ruby-macrodroid.rb', line 2855

def initialize(h={})

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

  super(options.merge h)

end