次の方法で共有


Proxy.GetProxyClass(ClassLoader, Class[]) Method

Definition

Returns the java.lang.Class object for a proxy class given a class loader and an array of interfaces.

[Android.Runtime.Register("getProxyClass", "(Ljava/lang/ClassLoader;[Ljava/lang/Class;)Ljava/lang/Class;", "")]
public static Java.Lang.Class GetProxyClass (Java.Lang.ClassLoader? loader, params Java.Lang.Class[] interfaces);
[<Android.Runtime.Register("getProxyClass", "(Ljava/lang/ClassLoader;[Ljava/lang/Class;)Ljava/lang/Class;", "")>]
static member GetProxyClass : Java.Lang.ClassLoader * Java.Lang.Class[] -> Java.Lang.Class

Parameters

loader
ClassLoader

the class loader to define the proxy class

interfaces
Class[]

the list of interfaces for the proxy class to implement

Returns

a proxy class that is defined in the specified class loader and that implements the specified interfaces

Attributes

Remarks

Java documentation for java.lang.reflect.Proxy.getProxyClass(java.lang.ClassLoader, java.lang.Class).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to