语言

E2eeContactKeysManager.GetE2eeSelfKey(String, String) 方法

定义

返回一个端到端加密自密钥条目,给定 deviceId 和调用方推断的包名称。

[Android.Runtime.Register("getE2eeSelfKey", "(Ljava/lang/String;Ljava/lang/String;)Landroid/provider/E2eeContactKeysManager$E2eeSelfKey;", "", ApiSince=35)]
[Android.Runtime.RequiresPermission("android.permission.READ_CONTACTS")]
public Android.Provider.E2eeContactKeysManager.E2eeSelfKey? GetE2eeSelfKey(string deviceId, string accountId);
[<Android.Runtime.Register("getE2eeSelfKey", "(Ljava/lang/String;Ljava/lang/String;)Landroid/provider/E2eeContactKeysManager$E2eeSelfKey;", "", ApiSince=35)>]
[<Android.Runtime.RequiresPermission("android.permission.READ_CONTACTS")>]
member this.GetE2eeSelfKey : string * string -> Android.Provider.E2eeContactKeysManager.E2eeSelfKey

参数

deviceId
String

设备的应用指定标识符。 此值不能为 null。

accountId
String

帐户的应用指定标识符。 此值不能为 null。

返回

包含端到端加密自密钥信息的 E2eeSelfKey 对象,如果未找到自密钥,则为 null。

特性

注解

Android 参考。android.provider.E2eeContactKeysManager.getE2eeSelfKey

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

适用于