语言

CacheResponse 构造函数

定义

重载

名称 说明
CacheResponse()

为缓存的响应初始化类的新实例 CacheResponse 。

CacheResponse(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

CacheResponse()

为缓存的响应初始化类的新实例 CacheResponse 。

[Android.Runtime.Register(".ctor", "()V", "")]
public CacheResponse();
特性

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

CacheResponse(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

protected CacheResponse(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Net.CacheResponse : nativeint * Android.Runtime.JniHandleOwnership -> Java.Net.CacheResponse

参数

javaReference
IntPtr

nativeint

IntPtr一个包含Java本机接口 (JNI) 对象引用。

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于