语言

SslCertificate.RestoreState(Bundle) 方法

定义

还原捆绑包中存储的证书

[Android.Runtime.Register("restoreState", "(Landroid/os/Bundle;)Landroid/net/http/SslCertificate;", "")]
public static Android.Net.Http.SslCertificate? RestoreState(Android.OS.Bundle? bundle);
[<Android.Runtime.Register("restoreState", "(Landroid/os/Bundle;)Landroid/net/http/SslCertificate;", "")>]
static member RestoreState : Android.OS.Bundle -> Android.Net.Http.SslCertificate

参数

bundle
Bundle

包含存储在它的证书状态的捆绑包

返回

捆绑包中存储的 SSL 证书,如果失败,则为 null

特性

注解

还原捆绑包中存储的证书

Java文档android.net.http.SslCertificate.restoreState(android.os.Bundle)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于