@property
    def swipe(self):
        @param_to_property(direction=["up", "down", "right", "left"])
        def _swipe(direction="left", steps=10, percent=1):
            if percent == 1:
                return self.jsonrpc.swipe(self.selector, direction, steps)
            else:
                return self.jsonrpc.swipe(self.selector, direction, percent, steps)
        return _swipe
Perform swipe action. if device platform greater than API 18, percent can be used and value between 0 and 1
dataset/ETHPy150Open xiaocong/uiautomator/uiautomator/__init__.py/AutomatorDeviceUiObject.swipe