Class: SetWallpaperAction
- Inherits:
-
Action
- Object
- MacroObject
- Action
- SetWallpaperAction
- Defined in:
- lib/ruby-macrodroid.rb
Instance Method Summary collapse
-
#initialize(h = {}) ⇒ SetWallpaperAction
constructor
A new instance of SetWallpaperAction.
Methods inherited from MacroObject
Constructor Details
#initialize(h = {}) ⇒ SetWallpaperAction
Returns a new instance of SetWallpaperAction.
1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 |
# File 'lib/ruby-macrodroid.rb', line 1855 def initialize(h={}) = { image_name: '6051449505275476553', s_screen_options: ["Home Screen", "Lock Screen", "Home + Lock Screen"], s_options: ["Image", "Live Wallpaper (Preview Screen)"], wallpaper_uri_string: 'content://media/external/images/media/928', screen_option: 0, option: 0 } super(.merge h) end |