Sha256: d142a87c079fc4478d72bb0b9b5028f463456da68c5c49355249d1b145376693
Contents?: true
Size: 744 Bytes
Versions: 13
Compression:
Stored size: 744 Bytes
Contents
module Calabash module Android # @!visibility private module Orientation # @!visibility private def _set_orientation_landscape Device.default.perform_action('set_activity_orientation', 'landscape') end # @!visibility private def _set_orientation_portrait Device.default.perform_action('set_activity_orientation', 'portrait') end # @!visibility private def _portrait? _orientation == 'portrait' end # @!visibility private def _landscape? _orientation == 'landscape' end # @!visibility private def _orientation Device.default.perform_action('get_activity_orientation')['message'] end end end end
Version data entries
13 entries across 13 versions & 1 rubygems