Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 python 中使用 pyjnius 实现嵌套类。它是开发 plyer 功能所必需的。我浏览了文档但找不到它。
与您的班级一起尝试以下内容:
class _CallbackManagerFactory(JavaClass): __javaclass__ = 'com/facebook/CallbackManager$Factory'
使用这样的美元符号:
NestedClass = autoclass('com.package.name.Class$NestedClass')