AndroidJavaClass 安卓Java类

Inherits from AndroidJavaObject

AndroidJavaClass is the Unity representation of a generic instance of java.lang.Class

AndroidJavaClass是Untiy表示一个java.lang.Class的泛型实例。

Constructors构造器

  • AndroidJavaClass
    Construct an AndroidJavaClass from the class name
          基于类名,构造一个AndroidJavaClass。

Inherited members继承成员Inherited Constructors继承构造器

  • AndroidJavaObject
    Construct an AndroidJavaObject based on the name of the class.
          基于类名,构造一个AndroidJavaClass。

Inherited Functions继承函数

  • Dispose
    IDisposable callback
          IDisposable回调函数。
  • Call
    Calls a Java method on an object (non-static).
          在对象上调用一个Java方法(非静态)。
  • CallStatic
    Call a static Java method on a class.
          调用一个静态Java方法。
  • Get.<FieldType>
    Get the value of a field in an object (non-static).
          获取一个对象上的字段值(非静态)。
  • Set.<FieldType>
    Set the value of a field in an object (non-static).
          在一个对象上设置字段的值(非静态)。
  • GetStatic.<FieldType>
    Get the value of a static field in an object type.
          获取一个对象类型上的静态字段值。
  • SetStatic.<FieldType>
    Set the value of a static field in an object type.
          设置一个对象类型上的静态字段值。
  • GetRawObject
    Retrieve the raw jobject pointer to the Java object.
          检索原始对象指向Java对象。
  • GetRawClass
    Retrieve the raw jclass pointer to the Java class;
          检索原始类指向Java对象。
  • Call.<ReturnType>
    Call a Java method on an object.
          在一个对象上,调用一个Java方法。
  • CallStatic.<ReturnType>
    Call a static Java method on a class.
          在一个类上,调用一个静态Java方法。
,