E2eeContactKeysManager.RemoveE2eeSelfKey(String, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
删除给定 deviceId 和调用方推断的包名称的端到端加密自密钥条目。
[Android.Runtime.Register("removeE2eeSelfKey", "(Ljava/lang/String;Ljava/lang/String;)Z", "", ApiSince=35)]
[Android.Runtime.RequiresPermission("android.permission.WRITE_CONTACTS")]
public bool RemoveE2eeSelfKey(string deviceId, string accountId);
[<Android.Runtime.Register("removeE2eeSelfKey", "(Ljava/lang/String;Ljava/lang/String;)Z", "", ApiSince=35)>]
[<Android.Runtime.RequiresPermission("android.permission.WRITE_CONTACTS")>]
member this.RemoveE2eeSelfKey : string * string -> bool
参数
- deviceId
- String
设备的应用指定标识符。 此值不能为 null。
- accountId
- String
帐户的应用指定标识符。 此值不能为 null。
返回
如果删除了条目,则为 true;否则为 false。
- 特性
注解
删除给定 deviceId 和调用方推断的包名称的端到端加密自密钥条目。 需要Manifest.permission.WRITE_CONTACTS
Android 参考。android.provider.E2eeContactKeysManager.removeE2eeSelfKey
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。