Sha256: 32e0a26a02d50a8224571535b10bbd1ce159ad8b31c3847c69baa545413762e7

Contents?: true

Size: 847 Bytes

Versions: 31

Compression:

Stored size: 847 Bytes

Contents

module Appium
  module Core
    module Android
      module Device
        module Performance
          def self.add_methods
            ::Appium::Core::Device.add_endpoint_method(:get_performance_data_types) do
              def get_performance_data_types
                execute :get_performance_data_types
              end
            end

            ::Appium::Core::Device.add_endpoint_method(:get_performance_data) do
              def get_performance_data(package_name:, data_type:, data_read_timeout: 1000)
                execute(:get_performance_data, {},
                        packageName: package_name, dataType: data_type, dataReadTimeout: data_read_timeout)
              end
            end
          end
        end # module Performance
      end # module Device
    end # module Android
  end # module Core
end # module Appium

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
appium_lib_core-1.9.2 lib/appium_lib_core/android/device/performance.rb
appium_lib_core-1.9.1 lib/appium_lib_core/android/device/performance.rb
appium_lib_core-1.9.0 lib/appium_lib_core/android/device/performance.rb
appium_lib_core-1.8.4 lib/appium_lib_core/android/device/performance.rb
appium_lib_core-1.8.3 lib/appium_lib_core/android/device/performance.rb
appium_lib_core-1.8.2 lib/appium_lib_core/android/device/performance.rb
appium_lib_core-1.8.1 lib/appium_lib_core/android/device/performance.rb
appium_lib_core-1.8.0 lib/appium_lib_core/android/device/performance.rb
appium_lib_core-1.7.2 lib/appium_lib_core/android/device/performance.rb
appium_lib_core-1.7.1 lib/appium_lib_core/android/device/performance.rb
appium_lib_core-1.7.0 lib/appium_lib_core/android/device/performance.rb