mirror of https://github.com/kivy/pyjnius.git
Document autoclass syntax for nested Java classes.
This commit is contained in:
parent
af824144cc
commit
9ecf8b2263
|
@ -1,5 +1,5 @@
|
||||||
.. _api:
|
|
||||||
|
|
||||||
|
.. _api:
|
||||||
API
|
API
|
||||||
===
|
===
|
||||||
|
|
||||||
|
@ -169,6 +169,10 @@ Reflection functions
|
||||||
>>> autoclass('java.lang.System')
|
>>> autoclass('java.lang.System')
|
||||||
<class 'jnius.java.lang.System'>
|
<class 'jnius.java.lang.System'>
|
||||||
|
|
||||||
|
autoclass can also represent a nested Java class:
|
||||||
|
|
||||||
|
>>> autoclass('android.provider.Settings$Secure')
|
||||||
|
<class 'jnius.reflect.android.provider.Settings$Secure'>
|
||||||
|
|
||||||
Java class implementation in Python
|
Java class implementation in Python
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
Loading…
Reference in New Issue