MCPcopy Index your code
hub / github.com/AirtestProject/Poco / VirtualDevice

Class VirtualDevice

poco/utils/device.py:9–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8
9class VirtualDevice(Device):
10 def __init__(self, ip):
11 super(VirtualDevice, self).__init__()
12 self.ip = ip
13
14 @property
15 def uuid(self):
16 return 'virtual-device'
17
18 def get_current_resolution(self):
19 return [1920, 1080]
20
21 def get_ip_address(self):
22 return self.ip
23
24
25def default_device():

Callers 4

__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
body.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected