Skip to content

Commit 8bd24d5

Browse files
committed
Add logical display info example
1 parent bb5a659 commit 8bd24d5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

examples/get-logical-display-info

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#! /usr/bin/env python3
2+
3+
from com.dtmilano.android.viewclient import ViewClient
4+
5+
device, serialno = ViewClient.connectToDeviceOrExit()
6+
7+
print('Logical display info:', device.getLogicalDisplayInfo())

0 commit comments

Comments
 (0)