Class: WifiHotSpotConstraint

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

Overview

Category: Connectivity

Instance Attribute Summary

Attributes inherited from MacroObject

#options, #siguid, #type

Instance Method Summary collapse

Methods inherited from Constraint

#match?

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ WifiHotSpotConstraint

Returns a new instance of WifiHotSpotConstraint.



4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
# File 'lib/ruby-macrodroid.rb', line 4379

def initialize(h={})

  options = {
    check_connections: false,
    comparison_value: 0,
    connected_count: 0,
    enabled: true
  }

  super(options.merge h)

end