Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KeyWeeUsr/7fd2a9333fc6c940a89273781ab79557 to your computer and use it in GitHub Desktop.
Save KeyWeeUsr/7fd2a9333fc6c940a89273781ab79557 to your computer and use it in GitHub Desktop.
from jnius import find_javaclass
froj jnius.reflect import get_signature
c = find_javaclass('android.bluetooth.BluetoothDevice')
methods = c.getMethods()
for m in methods:
if m.getName == 'connectGatt':
print(get_signature(m))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment